forked from TrueCloudLab/frostfs-node
[#424] metrics: Rename mode to mode_info
To follow best practice. Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>feature/390-tree_cli-backup
parent
26b305f82b
commit
69b788a90b
|
@ -54,7 +54,7 @@ func newEngineMetrics() *engineMetrics {
|
|||
objectCounter: newEngineGaugeVector("objects_total", "Objects counters per shards", []string{shardIDLabelKey, counterTypeLabelKey}),
|
||||
gc: newGCMetrics(),
|
||||
writeCache: newWriteCacheMetrics(),
|
||||
mode: newShardIDMode(engineSubsystem, "mode", "Shard mode"),
|
||||
mode: newShardIDMode(engineSubsystem, "mode_info", "Shard mode"),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ func newWriteCacheMetrics() *writeCacheMetrics {
|
|||
}, []string{wcShardID, wcStorage, wcSuccess, wcOperation}),
|
||||
actualCount: newWCGaugeVec("actual_objects_total", "Actual objects count in writecache", []string{wcShardID, wcStorage}),
|
||||
estimatedSize: newWCGaugeVec("estimated_size_bytes", "Estimated writecache size", []string{wcShardID, wcStorage}),
|
||||
mode: newShardIDMode(wcSubsystem, "mode", "Writecache mode value"),
|
||||
mode: newShardIDMode(wcSubsystem, "mode_info", "Writecache mode value"),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue