| Crates.io | prometheus |
| lib.rs | prometheus |
| version | 0.14.0 |
| created_at | 2016-01-22 10:28:34.313551+00 |
| updated_at | 2025-03-27 08:38:33.984372+00 |
| description | Prometheus instrumentation library for Rust applications. |
| homepage | https://github.com/tikv/rust-prometheus |
| repository | https://github.com/tikv/rust-prometheus |
| max_upload_size | |
| id | 3951 |
| size | 457,562 |
This is the Rust client library for Prometheus. The main data structures and APIs are ported from Go client.
Find the latest documentation at https://docs.rs/prometheus.
This crate provides several optional components which can be enabled via Cargo [features]:
protobuf: Protobuf support, enabled by default.
gen: To generate protobuf client with the latest protobuf version instead of
using the pre-generated client.
nightly: Enable nightly only features.
process: Enable process metrics support.
push: Enable push metrics support.
When using a MetricVec with label values known at compile time
prometheus-static-metric reduces the overhead of retrieving the concrete
Metric from a MetricVec.
See static-metric directory for details.