Skip to content

Commit 80ff2a7

Browse files
Add note about internal metric prefix changes in Collector v0.106.1
1 parent 34d88fb commit 80ff2a7

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

content/en/docs/collector/internal-telemetry.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ Each verbosity level represents a threshold at which certain metrics are
4949
emitted. For the complete list of metrics, with a breakdown by level, see
5050
[Lists of internal metrics](#lists-of-internal-metrics).
5151

52+
> **Note:** As of Collector version v0.106.1, internal metric names are handled differently based on their source:
53+
> - Metrics generated from Collector components are prefixed with `otelcol_`.
54+
> - Metrics generated from instrumentation libraries do not use the `otelcol_` prefix.
55+
>
56+
> For Collector versions prior to v0.106.1, all internal metrics, regardless of their origin, were prefixed with `otelcol_`. This includes metrics from both Collector components and instrumentation libraries.
57+
5258
The default level for metrics output is `normal`. To use another level, set
5359
`service::telemetry::metrics::level`:
5460

@@ -57,7 +63,7 @@ service:
5763
telemetry:
5864
metrics:
5965
level: detailed
60-
```
66+
6167
6268
The Collector can also be configured to scrape its own metrics using a
6369
[Prometheus receiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/prometheusreceiver)

0 commit comments

Comments
 (0)