You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[connector/spanmetricsconnector] add separate additional dimensions for calls and duration metrics (open-telemetry#39134)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
fix: open-telemetry#36805
-`max_size` (default: `160`) the maximum number of buckets per positive or negative number range.
100
-
-`dimensions`: the list of dimensions to add together with the default dimensions defined above.
101
-
102
+
-`dimensions`: the list of dimensions to add to `traces.span.metrics.calls`, `traces.span.metrics.duration` and `traces.span.metrics.event` metrics with the default dimensions defined above.
102
103
Each additional dimension is defined with a `name` which is looked up in the span's collection of attributes or
103
104
resource attributes (AKA process tags) such as `ip`, `host.name` or `region`.
104
105
105
106
If the `name`d attribute is missing in the span, the optional provided `default` is used.
106
107
107
108
If no `default` is provided, this dimension will be **omitted** from the metric.
109
+
-`calls_dimensions`: additional attributes to add as dimensions to the `traces.span.metrics.calls` metric,
110
+
which will be included _on top of_ the common and configured `dimensions` for span attributes and resource attributes.
108
111
-`exclude_dimensions`: the list of dimensions to be excluded from the default set of dimensions. Use to exclude unneeded data from metrics.
109
112
-`dimensions_cache_size`: this setting is deprecated, please use aggregation_cardinality_limit instead.
110
113
-`include_instrumentation_scope`: a list of instrumentation scope names to include from the traces.
@@ -120,7 +123,7 @@ The following settings can be optionally configured:
120
123
-`enabled` (default: `false`): enabling will add spans as Exemplars to all metrics. Exemplars are only kept for one flush interval.rom the cache, its next data point will indicate a "reset" in the series. Downstream components converting from delta to cumulative, like `prometheusexporter`, may handle these resets by setting cumulative counters back to 0.
121
124
-`events`: Use to configure the events metric.
122
125
-`enabled`: (default: `false`): enabling will add the events metric.
123
-
-`dimensions`: (mandatory if `enabled`) the list of the span's event attributes to add as dimensions to the events metric, which will be included _on top of_ the common and configured `dimensions` for span and resource attributes.
126
+
-`dimensions`: (mandatory if `enabled`) the list of the span's event attributes to add as dimensions to the `traces.span.metrics.events` metric, which will be included _on top of_ the common and configured `dimensions` for span attributes and resource attributes.
124
127
-`resource_metrics_key_attributes`: Filter the resource attributes used to produce the resource metrics key map hash. Use this in case changing resource attributes (e.g. process id) are breaking counter metrics.
125
128
-`aggregation_cardinality_limit` (default: `0`): Defines the maximum number of unique combinations of dimensions that will be tracked for metrics aggregation. When the limit is reached, additional unique combinations will be dropped but registered under a new entry with `otel.metric.overflow="true"`. A value of `0` means no limit is applied.
0 commit comments