prometheus-client 0.22.3

Open Metrics client library allowing users to natively instrument applications.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::io::Result;

fn main() -> Result<()> {
    #[cfg(feature = "protobuf")]
    prost_build::compile_protos(
        &["src/encoding/proto/openmetrics_data_model.proto"],
        &["src/encoding/proto/"],
    )?;

    Ok(())
}