mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-27 15:37:02 +00:00
21 lines
666 B
Rust
21 lines
666 B
Rust
use crate::metrics::{new_gauge_md, subsystems, MetricDescriptor, MetricName};
|
|
|
|
/// 集群配置相关指标描述符
|
|
lazy_static::lazy_static! {
|
|
pub static ref CONFIG_RRS_PARITY_MD: MetricDescriptor =
|
|
new_gauge_md(
|
|
MetricName::ConfigRRSParity,
|
|
"Reduced redundancy storage class parity",
|
|
&[], // 无标签
|
|
subsystems::CLUSTER_CONFIG
|
|
);
|
|
|
|
pub static ref CONFIG_STANDARD_PARITY_MD: MetricDescriptor =
|
|
new_gauge_md(
|
|
MetricName::ConfigStandardParity,
|
|
"Standard storage class parity",
|
|
&[], // 无标签
|
|
subsystems::CLUSTER_CONFIG
|
|
);
|
|
}
|