{"repo":"bitnomial/prometheus","free":true,"listed":false,"github":"https://github.com/bitnomial/prometheus","clone":"git clone https://github.com/bitnomial/prometheus.git","description":"Prometheus.io Haskell client.","language":"Haskell","stars":68,"topics":["prometheus"],"license":"BSD-3-Clause","category":"analytics","readme_excerpt":"Prometheus Haskell Client A simple and modern, type safe, performance focused, idiomatic Haskell client for Prometheus monitoring. Specifically there is no use of unsafe IO or manual ByteString construction from lists of bytes. Batteries-included web server. A key design element of this library is that the RegistryT monad transformer is only required for registering new time series. Once the time series is registered, new data samples may just be added in the IO monad. Note: Version 0. supports Prometheus v1.0 and version 2. supports Prometheus v2.0. - Hackage Package - Github Repo Usage Example Advanced Usage A Registry and StateT -based RegistryT are available for unit testing or generating lists of [IO a] actions that can be sequenced and returned from pure code to be applied. Concurrency Model Metrics are \"values\" and the Registry is the map of \"name labels\" to metric \"keys\". Metrics may be created/registered at any point, not just at start up, in the RegistryT monad transformer. Thread the RegistryT through your transformer stack to tell the type system you intend to register new metrics in that call stack. The RegistryT has a thread safe version in the Concurrent module. The metrics are thread safe on their own and do not require locking the entire registry to update them. They use high performance check-and-set atomic primitives. This is because metrics may be updated many times in between scrapes where the Reigstry needs to be lock. You do NOT want to lock all the met","default_branch":null,"files":null,"tree":[],"storefront":"/r/bitnomial","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bitnomial/prometheus/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}