forked from TrueCloudLab/frostfs-node
[#424] metrics: Rename counter to total
Suffix total should be used for a unit-less accumulating count. Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
c348ae35b0
commit
847732605c
5 changed files with 11 additions and 11 deletions
|
@ -40,9 +40,9 @@ func (m *replicatorMetrics) AddPayloadSize(size int64) {
|
|||
|
||||
func newReplicatorMetrics() *replicatorMetrics {
|
||||
return &replicatorMetrics{
|
||||
inFlightRequests: newReplicatorGauge("in_flight_requests", "Number of in-flight requests"),
|
||||
processedObjects: newReplicatorCounter("processed_objects", "Number of objects processed since the node startup"),
|
||||
totalReplicatedPayloadSize: newReplicatorCounter("total_replicated_payload_size", "Total size of payloads replicated"),
|
||||
inFlightRequests: newReplicatorGauge("in_flight_requests_total", "Number of in-flight requests"),
|
||||
processedObjects: newReplicatorCounter("processed_objects_total", "Number of objects processed since the node startup"),
|
||||
totalReplicatedPayloadSize: newReplicatorCounter("total_replicated_payload_size_bytes", "Total size of payloads replicated"),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue