Package io.opentelemetry.contrib.filter
package io.opentelemetry.contrib.filter
-
ClassDescriptionA
SpanFilterthat matches spans whose duration exceeds a configurable threshold, causing all batch-colocated spans sharing the same trace ID to be exported.ASpanFilterthat matches spans withStatusCode.ERROR, causing all batch-colocated spans sharing the same trace ID to be exported.ASpanExporterwrapper that filters spans before delegating to the underlying exporter.A filter that evaluates individual spans to determine if their containing trace's spans (within the same export batch) should be exported.ATraceFilterthat matches when the wall-clock duration (max end - min start across all spans in the batch sharing a trace ID) exceeds a configurable threshold.A filter that evaluates all spans belonging to a single trace within an export batch to determine if those spans should be exported.