Skip to content
项目

tikv/rust-prometheus

在 GitHub 查看

关于

用于 Rust 应用的 Prometheus 埋点库

开发工具

这些数字如何统计

可以做什么

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

实测星标增长

24小时
0
7天
+1
15天
+1
1个月
+1

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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

探索相关项目

加载中…