Package org.apache.flink.traces.reporter
Interface TraceReporter
-
@Experimental public interface TraceReporterTrace reporters are used to exportSpansto an external backend.Reporters are instantiated via a
TraceReporterFactory.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Closes this reporter.voidnotifyOfAddedSpan(Span span)voidopen(MetricConfig config)Configures this reporter.
-
-
-
Method Detail
-
open
void open(MetricConfig config)
Configures this reporter.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.
- Parameters:
config- A properties object that contains all parameters set for this reporter.
-
close
void close()
Closes this reporter. Should be used to close channels, streams and release resources.
-
notifyOfAddedSpan
void notifyOfAddedSpan(Span span)
-
-