Skip to content
Projects

tikv/rust-prometheus

View on GitHub

About

Prometheus instrumentation library for Rust applications

Developer Tools

How these counts are measured

What you can do

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

Measured star growth

in 24h
0
in 7 days
+1
in 15 days
0
in 1 month
+1

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

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

Explore related projects

Loading…