SkeLLLa / fastify-metrics

Prometheus metrics exporter for Fastify
https://savelife.in.ua/en/donate-en/
MIT License
99 stars 33 forks source link

Custom Labels #80

Closed iamelevich closed 1 year ago

iamelevich commented 1 year ago

Feature for custom labels for route metrics.

Issue: https://github.com/SkeLLLa/fastify-metrics/issues/74

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (234cdf8) 100.00% compared to head (7f374ef) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #80 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 2 2 Lines 137 151 +14 Branches 50 54 +4 ========================================= + Hits 137 151 +14 ``` | [Impacted Files](https://codecov.io/gh/SkeLLLa/fastify-metrics/pull/80?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alex) | Coverage Δ | | |---|---|---| | [src/fastify-metrics.ts](https://codecov.io/gh/SkeLLLa/fastify-metrics/pull/80?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alex#diff-c3JjL2Zhc3RpZnktbWV0cmljcy50cw==) | `100.00% <100.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alex). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alex)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

iamelevich commented 1 year ago

@SkeLLLa Please take a look

SkeLLLa commented 1 year ago

Thanks. Should be available in 10.2.0