-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[service] Internal counter metrics now have a .filtered suffix instead _filtered for Prometheus #12524
Comments
This is documented in the changelog.
|
I added the proposed fix code, which resolved the problem with without_type_suffix: true This change is not reflected in the changelog, and I would like to confirm the final state to determine whether it is a bug or the intended behavior. I need to update the dashboard if is desired state What is the final metric name 0.120.1
or
|
Should I move it to the contrib repo if it is directly related to metrics produced by components from that repo? |
@marcinsiennicki95 the underscore to dot issue is due to prometheus receiver, see https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CHANGELOG.md#v01200.
TLDR is you can add:
to your prometheus receiver, then the metric names should revert to previous formats. And yes this should be moved to -contrib since it is a breaking change in prometheus receiver. |
Thx |
Component(s)
service Telemetry
What happened?
Describe the bug
Hi after upgrade from version 0.118 to version 0.120 we found out that name of metrics has changed
Steps to reproduce
Upgrade from 0.118 to 0.120
What did you expect to see?
Names should be the same after the upgrade
What did you see instead?
It looks like all metrics with suffix

filtered
has been modified. Last separator changed from_
to.
`
The metric names for version 0.120 can be found at this link. It is unclear why they are currently displayed with underscores (_) and what the correct naming convention should be
Also we don't see these metrics in official metrics
https://opentelemetry.io/docs/collector/internal-telemetry/
Collector version
0.120
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: