Skip to content
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

OCM-13888 | fix: Ensure labels for metrics correctly reference service name and not API version. #1027

Conversation

robpblake
Copy link
Contributor

We are having metrics generated with the following label structure for services that are not hard-coded into the label generation process: ocm-v1. Essentially, the label is selecting the API version part of the path, rather than the service name. This is making it very hard to understand what services are receiving traffic, unless they are in the hard-coded list.

This fix ensures that we select the service name from the path rather than the service version. I have explicitly decided against updating the list of hard-coded service mappings for the sake of maintenance going forward.

@ciaranRoche ciaranRoche merged commit 8d6bfe6 into openshift-online:main Feb 7, 2025
5 checks passed
@robpblake robpblake deleted the ocm-13888-fix-metrics-label-for-service branch February 7, 2025 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants