@Experimental public interface TraceReporter
Spans
to an external backend.
Reporters are instantiated via a TraceReporterFactory
.
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this reporter.
|
void |
notifyOfAddedSpan(Span span) |
void |
open(MetricConfig config)
Configures this reporter.
|
void open(MetricConfig config)
If the reporter was instantiated generically and hence parameter-less, this method is the place where the reporter sets it's basic fields based on configuration values. Otherwise, this method will typically be a no-op since resources can be acquired in the constructor.
This method is always called first on a newly instantiated reporter.
config
- A properties object that contains all parameters set for this reporter.void close()
void notifyOfAddedSpan(Span span)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.