Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

ghc-prometheus-2.2.3-bp155.2.14 RPM for aarch64

From OpenSuSE Leap 15.5 for aarch64

Name: ghc-prometheus Distribution: SUSE Linux Enterprise 15 SP5
Version: 2.2.3 Vendor: openSUSE
Release: bp155.2.14 Build date: Mon May 22 14:49:40 2023
Group: Unspecified Build host: obs-arm-11
Size: 480371 Source RPM: ghc-prometheus-2.2.3-bp155.2.14.src.rpm
Packager: https://bugs.opensuse.org
Url: https://hackage.haskell.org/package/prometheus
Summary: Prometheus Haskell Client
[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.

Provides

Requires

License

BSD-3-Clause

Changelog

* Wed Jan 12 2022 Peter Simons <psimons@suse.com>
  - Update prometheus to version 2.2.3.
    Upstream does not provide a change log file.
* Mon Apr 26 2021 psimons@suse.com
  - Add prometheus at version 2.2.2.

Files

/usr/lib64/ghc-8.10.7/prometheus-2.2.3
/usr/lib64/ghc-8.10.7/prometheus-2.2.3/libHSprometheus-2.2.3-dqmTJDOM4G3E5Z9dgmV3v-ghc8.10.7.so
/usr/share/licenses/ghc-prometheus
/usr/share/licenses/ghc-prometheus/LICENSE


Generated by rpm2html 1.8.1

Fabrice Bellet, Tue Apr 9 20:15:22 2024