improve comment and error

This commit is contained in:
houseme
2025-05-16 17:00:56 +08:00
parent 60635aeb65
commit 6659b77f9a
29 changed files with 228 additions and 235 deletions
+3 -3
View File
@@ -1,12 +1,12 @@
/// Metric descriptors related to cluster configuration
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
);
@@ -14,7 +14,7 @@ lazy_static::lazy_static! {
new_gauge_md(
MetricName::ConfigStandardParity,
"Standard storage class parity",
&[], // 无标签
&[],
subsystems::CLUSTER_CONFIG
);
}