mirror of
https://github.com/rustfs/rustfs.git
synced 2026-09-04 19:25:40 +00:00
improve comment and error
This commit is contained in:
@@ -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
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user