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
> **Deprecation Notice:** The component type has been renamed from `spanmetrics` to `span_metrics`
26
+
> to follow the OpenTelemetry snake_case naming convention.
27
+
> The old name `spanmetrics` still works but is deprecated and will be removed in a future release.
28
+
> Please update your configuration to use `span_metrics`.
29
+
25
30
⚠️ Breaking Change Warning:
26
31
The default duration metrics unit will change from `ms` to `s` to adhere to the OpenTelemetry semantic conventions and a feature gate `connector.spanmetrics.useSecondAsDefaultMetricsUnit` is also added.
27
32
@@ -159,7 +164,7 @@ exporters:
159
164
nop:
160
165
161
166
connectors:
162
-
spanmetrics:
167
+
span_metrics:
163
168
histogram:
164
169
dimensions:
165
170
- name: url.scheme
@@ -195,9 +200,9 @@ service:
195
200
pipelines:
196
201
traces:
197
202
receivers: [nop]
198
-
exporters: [spanmetrics]
203
+
exporters: [span_metrics]
199
204
metrics:
200
-
receivers: [spanmetrics]
205
+
receivers: [span_metrics]
201
206
exporters: [nop]
202
207
```
203
208
@@ -225,16 +230,16 @@ exporters:
225
230
enabled: true
226
231
227
232
connectors:
228
-
spanmetrics:
233
+
span_metrics:
229
234
namespace: span.metrics
230
235
231
236
service:
232
237
pipelines:
233
238
traces:
234
239
receivers: [otlp]
235
-
exporters: [spanmetrics]
240
+
exporters: [span_metrics]
236
241
metrics:
237
-
receivers: [spanmetrics]
242
+
receivers: [span_metrics]
238
243
exporters: [prometheusremotewrite]
239
244
```
240
245
@@ -278,7 +283,7 @@ To reduce the risk of conflicting writes:
278
283
* Add `resource_metrics_key_attributes` to your configuration.
0 commit comments