Skip to content

Commit 57c9eb2

Browse files
committed
document breaking change in metric names for prometheus exporter
Fixes open-telemetry#12458 Signed-off-by: Alex Boten <[email protected]>
1 parent 58f3efb commit 57c9eb2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ If you are looking for developer-facing changes, check out [CHANGELOG-API.md](./
5151
- `cmd/mdatagen`: Remove `level` field from metrics definition (#12145)
5252
This mechanism will be added back once a new views mechanism is implemented.
5353
- `service`: Value for telemetry exporter `otlp.protocol` updated from `grpc/protobuf` to `grpc`. (#12337)
54+
- `service`: internal metrics exported over Prometheus will append a `_total` suffix to the metric name if `without_type_suffix` is not configured. (#11611)
55+
The change to update the internal telemetry to use [otel-go config](https://pkg.go.dev/go.opentelemetry.io/contrib/config) can cause unexpected behaviour
56+
for end users. The default value in `config` for `without_type_suffix` is `false` as per the specification which causes the `_total` suffix to be appended. Users
57+
that configure their `service::telemetry::metrics::readers` can set `without_type_suffix` to `true` to keep their metrics name consistent with previous versions
58+
of the collector.
5459

5560
### 💡 Enhancements 💡
5661

0 commit comments

Comments
 (0)