-
Notifications
You must be signed in to change notification settings - Fork 160
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
Potentially documentation hole in describe_* macros #541
Comments
As far as I understand it, you refer to the same metric by using the same name (and potentially the same labels). So in your example, If you look at the description of To use the The code in question: metrics/metrics-exporter-prometheus/src/recorder.rs Lines 255 to 304 in c63386b
|
So in
counter!()
from the examples I can docounter!("total_calls", "protocol" => "http");
But then how would I then usedescribe_counter!
to describe this newly created counter? Maybe this is exporter specific but it feels like there's some documentation gap with how to refer to the same metric across different macro invocations.Willing to help out with docs once I grok how it all works 🙏
The text was updated successfully, but these errors were encountered: