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
Copy file name to clipboardExpand all lines: .chloggen/fix-42462.yaml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -16,8 +16,8 @@ issues: [42462]
16
16
# These lines will be padded with 2 spaces and then inserted directly into the document.
17
17
# Use pipe (|) for multiline entries.
18
18
subtext: |
19
-
This change introduces a breaking change, which is now guarded by the feature gate `connector.spanmetrics.legacyDefaultMetricsUnit`.
20
-
Currently, the feature gate is enabled by default, so the unit will remain `ms`. After one or two release cycles, the unit will switch to `s` and the feature gate will also be disabled by default.
19
+
This change introduces a breaking change, which is now guarded by the feature gate `connector.spanmetrics.useSCDefaultMetricsUnit`.
20
+
Currently, the feature gate is disabled by default, so the unit will remain `ms`. After one release cycle, the unit will switch to `s` and the feature gate will also be enabled by default.
21
21
To revert this change manually, users can either enable the feature gate or modify the configuration as follows:
The default duration metrics unit will change from `ms` to `s` to adhere to the OpenTelemetry semantic conventions and a feature gate `connector.spanmetrics.useSCDefaultMetricsUnit` is also added.
28
+
29
+
Currently, the feature gate is disabled by default, so the unit will remain `ms`. After one release cycle, the unit will switch to `s` and the feature gate will also be enabled by default.
30
+
To revert this change manually, users can either disabled the feature gate or modify the configuration as follows:
31
+
```
32
+
connectors
33
+
spanmetrics:
34
+
histogram:
35
+
unit: "ms"
36
+
```
37
+
26
38
## Overview
27
39
28
40
Aggregates Request, Error and Duration (R.E.D) OpenTelemetry metrics from span data.
@@ -96,7 +108,7 @@ The following settings can be optionally configured:
96
108
-`histogram` (default: `explicit`): Use to configure the type of histogram to record
97
109
calculated from spans duration measurements. Must be either `explicit` or `exponential`.
98
110
-`disable` (default: `false`): Disable all histogram metrics.
99
-
-`unit` (default: `ms`, it will change to `s` in the next release, you can enable feature-gate `connector.spanmetrics.legacyDefaultMetricsUnit` to keep use `ms` unit): The time unit for recording duration measurements.
111
+
-`unit` (default: `ms`): The time unit for recording duration measurements.
100
112
calculated from spans duration measurements. One of either: `ms` or `s`.
101
113
-`dimensions`: additional attributes to add as dimensions to the `traces.span.metrics.duration` metric,
102
114
which will be included _on top of_ the common and configured `dimensions` for span attributes and resource attributes.
0 commit comments