This documentation has an index for AI agents at /llms.txt. A Markdown version of this page is available at https://explorer.opentelemetry.io/collector/components/contrib/spanpruningprocessor.md.

Span Pruning Processor

OpenTelemetry Collector processor · contrib distribution

  • Component ID: contrib-spanpruningprocessor
  • Name: spanpruningprocessor
  • Type: processor
  • Distribution: contrib
  • Repository: opentelemetry-collector-contrib

Stability

LevelSignals
alphatraces

Internal telemetry

MetricTypeValue typeUnitStabilityEnabledAttributesDescription
processor_spanpruning_aggregation_group_sizehistogramint{spans}developmentyesDistribution of spans per aggregation group
processor_spanpruning_aggregations_createdsum (monotonic)int{spans}developmentyesTotal aggregation summary spans created
processor_spanpruning_bytes_emittedsum (monotonic)intBydevelopmentnoTotal bytes of serialized traces emitted after pruning
processor_spanpruning_bytes_processed_inputsum (monotonic)intBydevelopmentnoTotal bytes of traces that matched pruning conditions (entire trace when any span matches), measured before pruning
processor_spanpruning_bytes_processed_outputsum (monotonic)intBydevelopmentnoTotal bytes of traces that matched pruning conditions (entire trace when any span matches), measured after pruning
processor_spanpruning_bytes_receivedsum (monotonic)intBydevelopmentnoTotal bytes of serialized traces received before pruning
processor_spanpruning_exemplars_sampledsum (monotonic)int{spans}developmentyesSpans randomly sampled as exemplars (excluded from aggregation)
processor_spanpruning_leaf_attribute_diversity_losshistogramint{values}developmentnoAttribute values lost due to diversity per leaf aggregation
processor_spanpruning_leaf_attribute_losshistogramint{keys}developmentnoAttribute keys lost due to absence per leaf aggregation
processor_spanpruning_outliers_correlations_detectedsum (monotonic)int{groups}developmentyesGroups where outliers had correlated attributes
processor_spanpruning_outliers_detectedsum (monotonic)int{spans}developmentyesSpans identified as outliers by analysis
processor_spanpruning_outliers_preservedsum (monotonic)int{spans}developmentyesOutlier spans kept (excluded from aggregation)
processor_spanpruning_parent_attribute_diversity_losshistogramint{values}developmentnoAttribute values lost due to diversity per parent aggregation
processor_spanpruning_parent_attribute_losshistogramint{keys}developmentnoAttribute keys lost due to absence per parent aggregation
processor_spanpruning_processing_durationhistogramdoublesdevelopmentyesTime to process each batch of traces
processor_spanpruning_spans_prunedsum (monotonic)int{spans}developmentyesTotal spans pruned/removed by aggregation
processor_spanpruning_spans_receivedsum (monotonic)int{spans}developmentyesTotal spans received by the processor
processor_spanpruning_traces_processedsum (monotonic)int{traces}developmentyesTotal traces processed
processor_spanpruning_traces_skippedsum (monotonic)int{traces}developmentyesTotal traces skipped due to conditions not matching

Data

  • JSON (latest): /data/collector/components/contrib-spanpruningprocessor/latest.json
  • JSON (pinned): /data/collector/components/contrib-spanpruningprocessor/contrib-spanpruningprocessor-2f02100cd5d5.json
  • Explore: /collector/components/contrib/spanpruningprocessor