Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module exposes a prometheus-client
Metric for exporting information
about the currently running process.
Synopsis
- data ProcMetrics = ProcMetrics
- procMetrics :: Metric ProcMetrics
Documentation
procMetrics :: Metric ProcMetrics Source #
Unregistered metrics for the current process. This is to be used with
register
to register the metrics.
This exports the following:
process_cpu_seconds_total
process_start_time_seconds
process_virtual_memory_bytes
process_resident_memory_bytes
See the official Prometheus documentation for more information on these standard metrics: https://prometheus.io/docs/instrumenting/writing_clientlibs/#standard-and-runtime-collectors