Class FlowSpan

    • Constructor Detail

      • FlowSpan

        public FlowSpan​(String flowName,
                        io.opentelemetry.api.trace.Span span,
                        String transactionId)
    • Method Detail

      • getSpan

        public io.opentelemetry.api.trace.Span getSpan()
      • getFlowName

        public String getFlowName()
      • getApikitConfigName

        public String getApikitConfigName()
      • addProcessorSpan

        public SpanMeta addProcessorSpan​(String containerName,
                                         TraceComponent traceComponent,
                                         io.opentelemetry.api.trace.SpanBuilder spanBuilder)
        Add a span created from given SpanBuilder for the processor identified at the given location String. When containerName String is provided, an existing span of that container (eg. Flow) is set as the parent span of this processor span.
        Parameters:
        containerName - String
        traceComponent - TraceComponent
        spanBuilder - SpanBuilder
        Returns:
        Span
      • endProcessorSpan

        public SpanMeta endProcessorSpan​(String location,
                                         Consumer<io.opentelemetry.api.trace.Span> spanUpdater,
                                         Instant endTime)
      • getRootSpanName

        public String getRootSpanName()
      • setRootSpanName

        public FlowSpan setRootSpanName​(String rootSpanName)