Class SamplingTraceExporter
java.lang.Object
com.yahoo.vespa.streamingvisitors.tracing.SamplingTraceExporter
- All Implemented Interfaces:
TraceExporter
Trace exporter which only exports a subset of traces as decided by the provided sampling strategy.
-
Constructor Summary
ConstructorDescriptionSamplingTraceExporter
(TraceExporter wrappedExporter, SamplingStrategy samplingStrategy) -
Method Summary
Modifier and TypeMethodDescriptionvoid
maybeExport
(Supplier<TraceDescription> traceDescriptionSupplier)
-
Constructor Details
-
SamplingTraceExporter
-
-
Method Details
-
maybeExport
- Specified by:
maybeExport
in interfaceTraceExporter
-