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
| Level | Signals |
|---|---|
| beta | logs, metrics, traces |
Internal telemetry
| Metric | Type | Value type | Unit | Stability | Enabled | Attributes | Description |
|---|---|---|---|---|---|---|---|
processor_groupbyattrs_log_groups | histogram | int | 1 | development | yes | Distribution of groups extracted for logs | |
processor_groupbyattrs_metric_groups | histogram | int | 1 | development | yes | Distribution of groups extracted for metrics | |
processor_groupbyattrs_num_grouped_logs | sum (monotonic) | int | 1 | development | yes | Number of logs that had attributes grouped | |
processor_groupbyattrs_num_grouped_metrics | sum (monotonic) | int | 1 | development | yes | Number of metrics that had attributes grouped | |
processor_groupbyattrs_num_grouped_spans | sum (monotonic) | int | 1 | development | yes | Number of spans that had attributes grouped | |
processor_groupbyattrs_num_non_grouped_logs | sum (monotonic) | int | 1 | development | yes | Number of logs that did not have attributes grouped | |
processor_groupbyattrs_num_non_grouped_metrics | sum (monotonic) | int | 1 | development | yes | Number of metrics that did not have attributes grouped | |
processor_groupbyattrs_num_non_grouped_spans | sum (monotonic) | int | 1 | development | yes | Number of spans that did not have attributes grouped | |
processor_groupbyattrs_span_groups | histogram | int | 1 | development | yes | Distribution of groups extracted for spans |