Class 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 Detail

      • JaegerDataPropagationProvider

        public JaegerDataPropagationProvider()
    • Method Detail

      • 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