@ConfigurationProperties(value="tracing.zipkin.reporter") @Requires(beans=BraveTracerConfiguration.class) @Requires(beans=zipkin2.reporter.Sender.class) public class AsyncReporterConfiguration extends Object
Span
instances.Constructor and Description |
---|
AsyncReporterConfiguration(BraveTracerConfiguration configuration,
zipkin2.reporter.Sender sender)
Create a configuration for async Reporting on
Span instances. |
Modifier and Type | Method and Description |
---|---|
zipkin2.reporter.AsyncReporter.Builder |
getBuilder()
Obtains the
AsyncReporter.Builder . |
void |
setReporterMetrics(zipkin2.reporter.ReporterMetrics metrics)
Sets the
ReporterMetrics instance to use. |
public static final String PREFIX
public AsyncReporterConfiguration(BraveTracerConfiguration configuration, zipkin2.reporter.Sender sender)
Span
instances.configuration
- BraveTracer configurationsender
- For sending list of spans to a transport such as http or Kafka