Package io.micronaut.tracing.brave
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 Summary
-
Constructor Summary
ConstructorDescriptionAsyncReporterConfiguration
(BraveTracerConfiguration configuration, zipkin2.reporter.Sender sender) Create a configuration for async reporting onzipkin2.Span
instances. -
Method Summary
Modifier and TypeMethodDescriptionzipkin2.reporter.AsyncReporter.Builder
void
setReporterMetrics
(@Nullable zipkin2.reporter.ReporterMetrics metrics)
-
Field Details
-
PREFIX
- See Also:
-
-
Constructor Details
-
AsyncReporterConfiguration
public AsyncReporterConfiguration(BraveTracerConfiguration configuration, zipkin2.reporter.Sender sender) Create a configuration for async reporting onzipkin2.Span
instances.- Parameters:
configuration
- BraveTracer configurationsender
- 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
-