rust-prometheus

by tikv

Prometheus instrumentation library for Rust applications

496 Stars 101 Forks Last release: Not found Apache License 2.0 223 Commits 5 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

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

Features

This library supports four features:

  • gen
    : To generate protobuf client with the latest protobuf version instead of using the pre-generated client.
  • nightly
    : Enable nightly only features.
  • process
    : For collecting process info.
  • push
    : Enable push 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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.