Class JaegerDataPropagationProvider

java.lang.Object
io.helidon.tracing.jaeger.JaegerDataPropagationProvider
All Implemented Interfaces:
DataPropagationProvider<io.helidon.tracing.jaeger.JaegerDataPropagationProvider.JaegerContext>

public class JaegerDataPropagationProvider extends Object implements DataPropagationProvider<io.helidon.tracing.jaeger.JaegerDataPropagationProvider.JaegerContext>
A data propagation provider for Jaeger. Makes sure span are properly propagated across threads managed by ContextAwareExecutorService.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    clearData(io.helidon.tracing.jaeger.JaegerDataPropagationProvider.JaegerContext context)
    Closes scope in secondary thread.
    io.helidon.tracing.jaeger.JaegerDataPropagationProvider.JaegerContext
    Closes scope in primary thread and returns a context to activate new scope in secondary thread.
    void
    propagateData(io.helidon.tracing.jaeger.JaegerDataPropagationProvider.JaegerContext context)
    Activates scope in secondary thread.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JaegerDataPropagationProvider

      public JaegerDataPropagationProvider()
  • Method Details

    • data

      public io.helidon.tracing.jaeger.JaegerDataPropagationProvider.JaegerContext data()
      Closes scope in primary thread and returns a context to activate new scope in secondary thread.
      Specified by:
      data in interface DataPropagationProvider<io.helidon.tracing.jaeger.JaegerDataPropagationProvider.JaegerContext>
      Returns:
      active span.
    • propagateData

      public void propagateData(io.helidon.tracing.jaeger.JaegerDataPropagationProvider.JaegerContext context)
      Activates scope in secondary thread.
      Specified by:
      propagateData in interface DataPropagationProvider<io.helidon.tracing.jaeger.JaegerDataPropagationProvider.JaegerContext>
      Parameters:
      context - the context.
    • clearData

      public void clearData(io.helidon.tracing.jaeger.JaegerDataPropagationProvider.JaegerContext context)
      Closes scope in secondary thread.
      Specified by:
      clearData in interface DataPropagationProvider<io.helidon.tracing.jaeger.JaegerDataPropagationProvider.JaegerContext>
      Parameters:
      context - data for propagation