prometheus

Crates.ioprometheus
lib.rsprometheus
version0.13.4
sourcesrc
created_at2016-01-22 10:28:34.313551
updated_at2024-05-04 16:53:32.398962
descriptionPrometheus instrumentation library for Rust applications.
homepagehttps://github.com/tikv/rust-prometheus
repositoryhttps://github.com/tikv/rust-prometheus
max_upload_size
id3951
size436,204
Luca Bruno (lucab)

documentation

https://docs.rs/prometheus

README

Prometheus Rust client library

Build Status docs.rs crates.io

This is the Rust client library for Prometheus. The main data structures and APIs are ported from Go client.

Documentation

Find the latest documentation at https://docs.rs/prometheus.

Advanced

Crate features

This crate provides several optional components which can be enabled via Cargo [features]:

  • 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.

Static Metric

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.

Thanks

Commit count: 291

cargo fmt