@Override
    public void maybeExport(Supplier<TraceDescription> traceDescriptionSupplier) {
        if (samplingStrategy.shouldSample()) {
            wrappedExporter.maybeExport(traceDescriptionSupplier);
        }
    }
Trace exporter which only exports a subset of traces as decided by the provided sampling strategy.
container-search/src/main/java/com/yahoo/vespa/streamingvisitors/tracing/SamplingTraceExporter.java