fimad / prometheus-haskell

Haskell client library for exposing prometheus.io metrics.
84 stars 48 forks source link

Configurable bucket for latency metric #69

Closed Yuras closed 2 months ago

Yuras commented 1 year ago

See #68

This adds instrumentHandlerValueWithHistogramAndFilter which allows to use custom histogram, e.g. specify custom buckets, metric name, names for labels.

jonathanjouty commented 3 months ago

@fimad Thanks for the libraries 🙌🏽 Is there anything we @scrive can do to help get this change (or an alternative solution for #68) reviewed and released?

fimad commented 2 months ago

Looks good to me, sorry this fell off my radar.

jonathanjouty commented 2 months ago

Thank you!