Prometheus monitoring library for Rust
- Rust 99.6%
- Makefile 0.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
Some checks failed
Rust / Build, minimum toolchain (push) Has been cancelled
Rust / Lints, pinned toolchain (push) Has been cancelled
Rust / Benchmarks (criterion) (push) Has been cancelled
Rust / Tests, stable toolchain (push) Has been cancelled
Rust / Tests, unstable toolchain (push) Has been cancelled
Rust / Tests, unstable toolchain-1 (push) Has been cancelled
This should fix: ``` error: rustc 1.81.0 is not supported by the following packages: icu_collections@2.0.0 requires rustc 1.82 icu_locale_core@2.0.0 requires rustc 1.82 icu_normalizer@2.0.0 requires rustc 1.82 icu_normalizer_data@2.0.0 requires rustc 1.82 icu_normalizer_data@2.0.0 requires rustc 1.82 icu_normalizer_data@2.0.0 requires rustc 1.82 icu_properties@2.0.1 requires rustc 1.82 icu_properties_data@2.0.1 requires rustc 1.82 icu_properties_data@2.0.1 requires rustc 1.82 icu_properties_data@2.0.1 requires rustc 1.82 icu_provider@2.0.0 requires rustc 1.82 idna_adapter@1.2.1 requires rustc 1.82 litemap@0.8.0 requires rustc 1.82 potential_utf@0.1.3 requires rustc 1.82 zerotrie@0.2.2 requires rustc 1.82 zerovec@0.11.4 requires rustc 1.82 Either upgrade rustc or select compatible dependency versions with `cargo update <name>@<current-ver> --precise <compatible-ver>` where `<compatible-ver>` is the latest version supporting rustc 1.81.0 ``` Signed-off-by: Thomas Habets <thomas@habets.se> |
||
| .github | ||
| benches | ||
| docs | ||
| examples | ||
| proto | ||
| src | ||
| static-metric | ||
| .gitignore | ||
| build.rs | ||
| Cargo.toml | ||
| CHANGELOG.md | ||
| CODE_OF_CONDUCT.md | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
Prometheus Rust client library
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.