Custom labels
Closed this issue · 5 comments
marcopiraccini commented
Only a predefined set of labels is supported: method
, status
and route
.
Sometimes it would be useful to support "custom" labels set, so that we could:
- Decorate a request with the info we want to get from the label.
- Get the info from the request to populate the custom label.
This would allow to support more fine-grained metrics.
guysegal commented
really +1 for that
SkeLLLa commented
Yes, it might be a good feature, wanna work on PR for this?
guysegal commented
Yeah I'll try (never actively contributed to open source project before 😅)
iamelevich commented
Created PR for this: #80
SkeLLLa commented
Looks like this one is resolved. Feel free to reopen if you need something extra.