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

Support metric help text in multiprocess mode #866

Closed
wants to merge 2 commits into from
Closed

Support metric help text in multiprocess mode #866

wants to merge 2 commits into from

Conversation

evgenymarkov
Copy link
Contributor

@evgenymarkov evgenymarkov commented Dec 4, 2022

Hello ✋🏻 I ran into a problem - open telemetry collector shows errors because I collect metrics with the same name from two applications - one single-process, the other multi-process:

label:<name:"path_template" value:"/api/rest/v1/auth/me" > label:<name:"project" value:"auth" > counter:<value:890 > has help "Total count of requests by method and path" but should have "Multiprocess metric"

Then I found old issue and I decided to fix it. @butlerx did almost all the work. I added only 1 test.

butlerx and others added 2 commits December 4, 2022 21:15
Issue #211
Add support for storing the metrics help text in the multiprocess map.
The help will come from the first process read, but it should be the
same for all metrics.

Signed-off-by: Cian Butler <[email protected]>
Signed-off-by: Evgeny Markov <[email protected]>
Signed-off-by: Evgeny Markov <[email protected]>
@evgenymarkov
Copy link
Contributor Author

See also: #866

@evgenymarkov evgenymarkov marked this pull request as ready for review December 4, 2022 16:20
@evgenymarkov
Copy link
Contributor Author

I'll close my PR because it's exactly the same as #804

@evgenymarkov evgenymarkov deleted the multiprocess-help branch December 4, 2022 19:31
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