prometheus-haskell
prometheus-haskell copied to clipboard
Haskell client library for exposing prometheus.io metrics.
We ran into an alert where an internal invariant had been broken in the `ReqSketch` library. As best as we can tell, it was triggered by an async interrupt causing...
This is a draft for an idea to generalise the metrics API, before I commit to making it clean and documenting it and such, I would like the maintainers' opinion...
The `Sample` data type does not have instances for `Eq`, `Ord` and `NFData`. The former two type classes are generally useful can can be automatically derived by GHC. The latter...
We have a WAI application in production that serves only around `5 reqs/s` and we had serious performance issues as the server was GC'ing 95% of the time. ## Before...
It would be nice to support Push Gateway, so you can push metrics to prometheus as well. This could be nice for e.g. CLI tasks that don't fit the model...
It seems to me that use of `wai-middleware-prometheus` is quite limited as usually people use multiple endpoints and measuring average value for all of them (while the nature of those...
Currently, the [`[]` implementation of `Registry`](https://github.com/fimad/prometheus-haskell/blob/master/prometheus-client/src/Prometheus/Registry.hs#L25) allows for multiple registrations of the same metric. I can't really think of a use-case where someone would want to have duplicate metrics (vs...
Added global vector register so access vectors globally
The type of `withLabel` is: ```haskell withLabel :: (Label label, MonadMonitor m) => label -> (Metric metric -> IO ()) -> Metric (Vector label metric) -> m () ``` This...
It'd be nice to have a type class for labels such that I could define in my app how a certain domain-specific value got translated to a Prometheus label. e.g....