Class TracingModule

All Implemented Interfaces:
com.google.inject.Module, ConfigurationAwareModule

public class TracingModule extends AbstractConfigurationAwareModule
  • Constructor Details

    • TracingModule

      public TracingModule(String serviceName, String serviceVersion)
  • Method Details

    • setup

      protected void setup(com.google.inject.Binder binder)
      Specified by:
      setup in class AbstractConfigurationAwareModule
    • createTracer

      @Provides public io.opentelemetry.api.trace.Tracer createTracer(io.opentelemetry.api.OpenTelemetry openTelemetry)