blob: c696d2aa4e8298d30ce9c225e1e9411f0db47b61 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.streamingvisitors.tracing;
import java.util.function.Supplier;
/**
* Potentially exports a trace to an underlying consumer. "Potentially" here means
* that the exporter may itself sample or otherwise limit which queries are actually
* exported.
*/
public interface TraceExporter {
void maybeExport(Supplier<TraceDescription> traceDescriptionSupplier);
}
|