Class AsyncReporterConfiguration

java.lang.Object
io.micronaut.tracing.brave.AsyncReporterConfiguration

@ConfigurationProperties("tracing.zipkin.reporter") @Requires(beans=BraveTracerConfiguration.class) @Requires(beans=zipkin2.reporter.Sender.class) public class AsyncReporterConfiguration extends Object
A configuration for async Reporting on Span instances.
Since:
1.0
Author:
graemerocher
  • Field Details

  • Constructor Details

    • AsyncReporterConfiguration

      public AsyncReporterConfiguration(BraveTracerConfiguration configuration, zipkin2.reporter.Sender sender)
      Create a configuration for async reporting on zipkin2.Span instances.
      Parameters:
      configuration - BraveTracer configuration
      sender - for sending list of spans to a transport such as HTTP or Kafka
  • Method Details

    • getBuilder

      public zipkin2.reporter.AsyncReporter.Builder getBuilder()
      Returns:
      the builder
    • setReporterMetrics

      @Inject public void setReporterMetrics(@Nullable @Nullable zipkin2.reporter.ReporterMetrics metrics)
      Parameters:
      metrics - the metrics