You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given the scenario that I would like to get metrics for requests from a certain basic auth identified user I would need to be able to extract such a field and add it as custom label to the metrics next to labels: endpoint, method, status.
Could that be supported somehow?
Thanks
The text was updated successfully, but these errors were encountered:
I'm afraid that it's currently not possible to extend labels, however I might try to implement it someday. It doesn't seem to be easy that's for sure. If you'd like to customize labels, I'd suggest writing your own middleware, similar to Axum's Prometheus example.
Hi!
Given the scenario that I would like to get metrics for requests from a certain basic auth identified user I would need to be able to extract such a field and add it as custom label to the metrics next to labels: endpoint, method, status.
Could that be supported somehow?
Thanks
The text was updated successfully, but these errors were encountered: