Upstream software project

ghc-prometheus

Haskell prometheus library development files

About ghc-prometheus

Haskell prometheus library development files

This project links 2 native package records across 1 recorded operating-system release. Compare the retained versions and architectures below, then open the package for your own release.

These are catalog observations, not a guarantee of installation, compatibility, or upstream support.

Project pictures and package coverage

openSUSE Leap 15.6: 2 package records. Catalog coverage diagram, not an application screenshot.ghc-prometheus: recorded package coverageopenSUSE Leap 15.62 records
OpenFactory diagram of linked package records. It is not an application screenshot.

Project identity

Project
ghc-prometheus
Publisher
Not authoritatively mapped
Native package records
2
Operating systems
opensuse-leap-15-6
License expression
BSD-3-Clause
Source repository
Not reported

Source-reported description

The fullest retained description is shown with its source. Distribution packaging descriptions may include downstream details.

[Prometheus Haskell Client] A simple and modern, type safe, performance focused, idiomatic Haskell client for <http://prometheus.io 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. [Usage Example] > module Example where > > import Control.Monad.IO.Class (liftIO) > import System.Metrics.Prometheus.Http.Scrape (serveMetricsT) > import System.Metrics.Prometheus.Concurrent.RegistryT > import System.Metrics.Prometheus.Metric.Counter (inc) > import System.Metrics.Prometheus.MetricId > > main :: IO () > main = runRegistryT $ do > -- Labels can be defined as lists or added to an empty label set > connectSuccessGauge <- registerGauge "example_connections" (fromList [("login", "success")]) > connectFailureGauge <- registerGauge "example_connections" (addLabel "login" "failure" mempty) > connectCounter <- registerCounter "example_connection_total" mempty > latencyHistogram <- registerHistogram "example_round_trip_latency_ms" mempty [10, 20..100] > > liftIO $ inc connectCounter -- increment a counter > > -- [...] pass metric handles to the rest of the app > > serveMetricsT 8080 ["metrics"] -- http://localhost:8080/metric server > [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.

Description source

Packages by operating system

Compare recorded versions, then open a package for dependency, file, checksum, and repository evidence. Version strings are distribution-specific, not a ranking of newer software.

openSUSE Leap 15.6

  1. Package ghc-prometheus

    leap-15.6 (openSUSE Leap 15.6) (Unspecified): Prometheus Haskell Client

    2.2.3-bp156.3.4: aarch64 ppc64le s390x x86_64

    Source: ghc-prometheus

  2. Package ghc-prometheus-devel

    leap-15.6 (openSUSE Leap 15.6) (Unspecified): Haskell prometheus library development files

    2.2.3-bp156.3.4: aarch64 ppc64le s390x x86_64

    Source: ghc-prometheus

Project resources and further reading

Mapping provenance

Only source-backed identity signals create public cross-OS links. A reviewer can later approve or dispute an inferred relationship without rewriting native package history.

No field-level source record is published yet.