Class OpenTracingInvocationInstrumenter

java.lang.Object
io.micronaut.tracing.opentracing.util.OpenTracingInvocationInstrumenter
All Implemented Interfaces:
io.micronaut.scheduling.instrument.InvocationInstrumenterFactory, io.micronaut.scheduling.instrument.ReactiveInvocationInstrumenterFactory, TracingInvocationInstrumenterFactory

@Singleton @Requires(beans=io.opentracing.Tracer.class) @Requires(missingBeans=TracingInvocationInstrumenterFactory.class) @Internal public class OpenTracingInvocationInstrumenter extends Object implements TracingInvocationInstrumenterFactory, io.micronaut.scheduling.instrument.ReactiveInvocationInstrumenterFactory, io.micronaut.scheduling.instrument.InvocationInstrumenterFactory
Tracing invocation instrument for OpenTracing.
Since:
1.0
Author:
graemerocher, dstepanov
  • Constructor Details

    • OpenTracingInvocationInstrumenter

      protected OpenTracingInvocationInstrumenter(io.opentracing.Tracer tracer)
      Parameters:
      tracer - invocation tracer
  • Method Details

    • newReactiveInvocationInstrumenter

      public io.micronaut.scheduling.instrument.InvocationInstrumenter newReactiveInvocationInstrumenter()
      Specified by:
      newReactiveInvocationInstrumenter in interface io.micronaut.scheduling.instrument.ReactiveInvocationInstrumenterFactory
    • newTracingInvocationInstrumenter

      public io.micronaut.scheduling.instrument.InvocationInstrumenter newTracingInvocationInstrumenter()
      Description copied from interface: TracingInvocationInstrumenterFactory
      An optional instrumentation.
      Specified by:
      newTracingInvocationInstrumenter in interface TracingInvocationInstrumenterFactory
      Returns:
      an instrumentation, or null if none is necessary
    • newInvocationInstrumenter

      public io.micronaut.scheduling.instrument.InvocationInstrumenter newInvocationInstrumenter()
      Specified by:
      newInvocationInstrumenter in interface io.micronaut.scheduling.instrument.InvocationInstrumenterFactory