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
observability: consistent naming for metrics produced by OTel service #141
Comments
Would that include changing the namespace used for the metrics? opentelemetry-collector/service/telemetry.go Lines 86 to 88 in 7a6e5f1
Currently we get the following metric:
|
Yes, @ledor473 at least making it configurable: there is the case to keep the old one for people that have alerts/dashboards based on |
This package is going to allow controlled transition/rename of metrics. The initial implementation just prepares the way to remove the calls to the observability package. In order to be able to rename and change the metrics generated by the Collector without breaking current usage the obsreport package is being introduced. After this is merged a command-line flag can be added to control the generation of the different sets of metrics - initially with the default as legacy only. Link to tracking Issue: Needed for #141, see also the comments of PR #530 Testing: Besides the added tests I have a series of follow up PRs ready, I used these other PRs to manually validate the changes. Documentation: Please refer to doc.go in the new package.
These metrics had an outdated prefix, while at it renamed the metrics attempting to make their meaning more obvious. Link to tracking Issue: Related to #141 Testing: Manually validated generated metric names
Initial updates to migrate processor metrics to obsreport package, ie.: the new metrics. Cleaned-up a bit some of the processor metrics and spelled out the rule names for new metrics. Related to #141 Testing: Added test for the processor common metrics, validated manually that legacy metrics were still working
I think this is covered by the transition to the new obsreport package. |
Before first release we should make the name of metrics generated consistent, currently these are not consistent through the code base.
The text was updated successfully, but these errors were encountered: