Module collector

Expand description

Raw metrics for the running process.

This module contains the implementation to collect the Prometheus metrics for the running process. This can be useful to export these metrics via custom mechanisms rather than via the [metrics] crate.

Use the collect function to create a snapshot of the current metrics.

To export these metrics via the [metrics] crate however it is recommended to use the Collector struct.

Structs§

Metrics
Standard Prometheus process metrics.

Functions§

collect