-
Notifications
You must be signed in to change notification settings - Fork 30
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
axum additional metrics #174
Comments
Hi @horseinthesky, if you enable the |
Sorry, the feature is called |
@emschwartz This is my `Cargo.toml at the moment:
If I run:
it changes nothing. Docs say:
but I do use
in the code to handle prometheus requests. |
Hello.
I've checked examples but could find a way to instrument the axum app to include additional metrics.
Here is the code:
main.rs
Instrument handler with
#[autometrics]
macro work great - I get the defaultsimages.rs
I'm trying to add additional metrics to measure some parts of the handler
But this does nothing.
Is there a way to include new metrics to the storage? Thank you.
The text was updated successfully, but these errors were encountered: