[#431] metrics: Add missed label

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
Dmitrii Stepanov 2023-06-07 09:35:19 +03:00 committed by Stanislav Bogatyrev
parent 263c6fdc50
commit 5b75432ca2

View file

@ -176,7 +176,7 @@ func newWCMethodDurationCounter(method string) *prometheus.HistogramVec {
Subsystem: wcSubsystem,
Name: fmt.Sprintf("%s_req_duration_seconds", method),
Help: fmt.Sprintf("Accumulated %s request process duration", method),
}, []string{wcShardID, wcSuccess})
}, []string{wcShardID, wcSuccess, wcStorage})
}
func newWCOperationCounterVec(operation string, labels []string) *prometheus.CounterVec {