Rust Apache-2.0

rust-prometheus

Prometheus instrumentation library for Rust applications

T

tikv

Dernière activité 31 déc. 2025
tikv/rust-prometheus

1,2 k

étoiles

207

forks

96

issues ouvertes

Ce README est souvent en anglais.

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]:

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

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

Projets similaires

Prometheus / OpenMetrics client library in Rust

Rustinstrumentationmetricsmonitoring
Pprometheus
607 étoiles114

A metrics ecosystem for Rust.

Rustmetricsrust-langtelemetry
Mmetrics-rs
1,5 k étoiles227

The Prometheus monitoring system and time series database.

Goalertinggraphinghacktoberfest
Pprometheus
66,3 k étoiles10,9 k