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/groupbyattrsprocessor.md.

Group by Attributes Processor

OpenTelemetry Collector processor · contrib distribution

This processor re-associates spans, log records and metric datapoints to a *Resource* that matches with the specified attributes. As a result, all spans, log records or metric datapoints with the same values for the specified attributes are "grouped" under the same *Resource*.

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

Stability

LevelSignals
betalogs, metrics, traces

Internal telemetry

MetricTypeValue typeUnitStabilityEnabledAttributesDescription
processor_groupbyattrs_log_groupshistogramint1developmentyesDistribution of groups extracted for logs
processor_groupbyattrs_metric_groupshistogramint1developmentyesDistribution of groups extracted for metrics
processor_groupbyattrs_num_grouped_logssum (monotonic)int1developmentyesNumber of logs that had attributes grouped
processor_groupbyattrs_num_grouped_metricssum (monotonic)int1developmentyesNumber of metrics that had attributes grouped
processor_groupbyattrs_num_grouped_spanssum (monotonic)int1developmentyesNumber of spans that had attributes grouped
processor_groupbyattrs_num_non_grouped_logssum (monotonic)int1developmentyesNumber of logs that did not have attributes grouped
processor_groupbyattrs_num_non_grouped_metricssum (monotonic)int1developmentyesNumber of metrics that did not have attributes grouped
processor_groupbyattrs_num_non_grouped_spanssum (monotonic)int1developmentyesNumber of spans that did not have attributes grouped
processor_groupbyattrs_span_groupshistogramint1developmentyesDistribution of groups extracted for spans

Data

  • JSON (latest): /data/collector/components/contrib-groupbyattrsprocessor/latest.json
  • JSON (pinned): /data/collector/components/contrib-groupbyattrsprocessor/contrib-groupbyattrsprocessor-934a54265aab.json
  • Explore: /collector/components/contrib/groupbyattrsprocessor