@ConfigurationProperties(value="tracing.zipkin.reporter") @Requires(beans=BraveTracerConfiguration.class) @Requires(beans=zipkin2.reporter.Sender.class) public class AsyncReporterConfiguration extends java.lang.Object
Span
instances.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PREFIX |
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 java.lang.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 Kafkapublic zipkin2.reporter.AsyncReporter.Builder getBuilder()
AsyncReporter.Builder
.@Inject public void setReporterMetrics(@Nullable zipkin2.reporter.ReporterMetrics metrics)
ReporterMetrics
instance to use.metrics
- The metrics instance