Class SpanFactory

java.lang.Object
io.temporal.opentracing.internal.SpanFactory

public class SpanFactory extends Object
  • Constructor Details

  • Method Details

    • createWorkflowStartSpan

      public io.opentracing.Tracer.SpanBuilder createWorkflowStartSpan(io.opentracing.Tracer tracer, SpanOperationType operationType, String workflowType, String workflowId)
    • createStartNexusOperationSpan

      public io.opentracing.Tracer.SpanBuilder createStartNexusOperationSpan(io.opentracing.Tracer tracer, String serviceName, String operationName, String workflowId, String runId)
    • createChildWorkflowStartSpan

      public io.opentracing.Tracer.SpanBuilder createChildWorkflowStartSpan(io.opentracing.Tracer tracer, String childWorkflowType, String childWorkflowId, long startTimeMs, String parentWorkflowId, String parentRunId)
    • createExternalWorkflowSignalSpan

      public io.opentracing.Tracer.SpanBuilder createExternalWorkflowSignalSpan(io.opentracing.Tracer tracer, String signalName, String workflowId, String runId)
    • createWorkflowSignalSpan

      public io.opentracing.Tracer.SpanBuilder createWorkflowSignalSpan(io.opentracing.Tracer tracer, String signalName, String workflowId, String runId)
    • createWorkflowHandleSignalSpan

      public io.opentracing.Tracer.SpanBuilder createWorkflowHandleSignalSpan(io.opentracing.Tracer tracer, String signalName, String workflowId, String runId, io.opentracing.SpanContext workflowSignalSpanContext)
    • createContinueAsNewWorkflowStartSpan

      public io.opentracing.Tracer.SpanBuilder createContinueAsNewWorkflowStartSpan(io.opentracing.Tracer tracer, String continueAsNewWorkflowType, String workflowId, String parentRunId)
    • createWorkflowRunSpan

      public io.opentracing.Tracer.SpanBuilder createWorkflowRunSpan(io.opentracing.Tracer tracer, String workflowType, String workflowId, String runId, io.opentracing.SpanContext workflowStartSpanContext)
    • createActivityStartSpan

      public io.opentracing.Tracer.SpanBuilder createActivityStartSpan(io.opentracing.Tracer tracer, String activityType, @Nullable String workflowId, @Nullable String runId, @Nullable String activityId)
    • createActivityRunSpan

      public io.opentracing.Tracer.SpanBuilder createActivityRunSpan(io.opentracing.Tracer tracer, String activityType, @Nullable String workflowId, @Nullable String runId, @Nullable String activityId, io.opentracing.SpanContext activityStartSpanContext)
    • createStartNexusOperationSpan

      public io.opentracing.Tracer.SpanBuilder createStartNexusOperationSpan(io.opentracing.Tracer tracer, String serviceName, String operationName, io.opentracing.SpanContext nexusStartSpanContext)
    • createCancelNexusOperationSpan

      public io.opentracing.Tracer.SpanBuilder createCancelNexusOperationSpan(io.opentracing.Tracer tracer, String serviceName, String operationName, io.opentracing.SpanContext nexusStartSpanContext)
    • createWorkflowStartUpdateSpan

      public io.opentracing.Tracer.SpanBuilder createWorkflowStartUpdateSpan(io.opentracing.Tracer tracer, String updateName, String workflowId, String runId)
    • createWorkflowExecuteUpdateSpan

      public io.opentracing.Tracer.SpanBuilder createWorkflowExecuteUpdateSpan(io.opentracing.Tracer tracer, String updateName, String workflowId, String runId, io.opentracing.SpanContext workflowUpdateSpanContext)
    • createWorkflowQuerySpan

      public io.opentracing.Tracer.SpanBuilder createWorkflowQuerySpan(io.opentracing.Tracer tracer, String updateName, String workflowId, String runId)
    • createWorkflowHandleQuerySpan

      public io.opentracing.Tracer.SpanBuilder createWorkflowHandleQuerySpan(io.opentracing.Tracer tracer, String queryName, io.opentracing.SpanContext workflowQuerySpanContext)
    • logFail

      public void logFail(io.opentracing.Span toSpan, Throwable failReason)
    • logEviction

      public void logEviction(io.opentracing.Span toSpan)