prometheus-effect alternatives and similar packages
Based on the "Unclassified" category.
Alternatively, view prometheus-effect alternatives based on common mentions on social networks and blogs.
-
gotta-go-fast
A command line utility for practicing typing and measuring your WPM and accuracy. -
heroku-persistent
Parse DATABASE_URL into configuration types for Persistent -
logging-effect
A very general logging effect for Haskell -
rollbar-cli
A group of libraries written in Haskell to communicate with Rollbar API. -
ascii-art-to-unicode
Small program to convert ASCII box art to Unicode box drawings. -
bit-stream
Lazy infinite compact streams with cache-friendly O(1) indexing and applications for memoization -
base-unicode-symbols
Unicode alternatives for common functions and operators -
hackertyper
"Hack" like a programmer in movies and games! Inspired by hackertyper.net -
aeson-serialize
Functions for serializing a type that is an instance of ToJSON -
dependent-sum-template
Template Haskell code to generate instances of classes in dependent-sum package -
argon2
Haskell bindings to libargon2 - the reference implementation of the Argon2 password-hashing function -
servant-streaming
Support for servant requests and responses via the 'streaming' library -
webkit-javascriptcore
webkit javascriptcore library FFI -
containers-unicode-symbols
Unicode alternatives for common functions and operators -
semver-range
Implementation of semver and NPM-style semantic version ranges in Haskell -
postgresql-simple-sop
Generic functions for postgresql-simple -
reflex-dom-pandoc
Render Pandoc documents in reflex-dom -
rerebase
Reexports from "base" with a bunch of other standard libraries -
streaming-events
Client-side consumption of a ServerEvent. -
bitcoind-regtest
A cilent for the bitcoind JSON-RPC interface -
hasql-dynamic-statements
Dynamic statements for Hasql
Clean code begins in your IDE with SonarLint
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of prometheus-effect or a related project?
README
Prometheus is an open-source systems monitoring and alerting toolkit originally built at SoundCloud. Since its inception in 2012, many companies and organizations have adopted Prometheus, and the project has a very active developer and user community. It is now a standalone open source project and maintained independently of any company. To emphasize this and clarify the project's governance structure, Prometheus joined the Cloud Native Computing Foundation in 2016 as the second hosted project after Kubernetes.
This library provides a Haskell client to Prometheus. It supports:
- The metric types counter, gauge and histogram.
- Publishing metrics over HTTP (via WAI middleware).
- Pushing metrics to the Prometheus push gateway.
- Labels, along with dynamic labels.
- Instrumentation, both for internal Prometheus monitoring and GHC statistics.
The library is intended to be easy to use, because instrumentation is already boring enough - the last thing you want is to be 5 pages deep in obscure GHC extensions just to bump a counter!
Here's one example to demonstrate how you could use this library:
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
import Control.Concurrent
import Control.Monad
import Network.HTTP.Types.Status
import Prometheus
import System.Random
import qualified Network.Wai as Wai
import qualified Network.Wai.Handler.Warp as Warp
data Metrics = Metrics
{ iterations :: Counter
, timePerLoop :: Histogram
}
main :: IO ()
main = do
(metrics, registry) <- buildRegistry $ do
iterations <- register "iterations" "Total completed iterations" mempty counter
timePerLoop <- register "time_per_loop" "Distribution of time per loop" mempty (histogram ioDurationBuckets)
return Metrics{..}
forkIO $ Warp.run 8000 $ publishRegistryMiddleware ["metrics"] registry $ \req mkRes ->
mkRes (Wai.responseLBS notFound404 mempty mempty)
forever $ time (timePerLoop metrics) $ do
threadDelay =<< randomIO
incCounter (iterations metrics)