[#431] metrics: Add missed label
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
263c6fdc50
commit
5b75432ca2
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ func newWCMethodDurationCounter(method string) *prometheus.HistogramVec {
|
||||||
Subsystem: wcSubsystem,
|
Subsystem: wcSubsystem,
|
||||||
Name: fmt.Sprintf("%s_req_duration_seconds", method),
|
Name: fmt.Sprintf("%s_req_duration_seconds", method),
|
||||||
Help: fmt.Sprintf("Accumulated %s request process duration", 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 {
|
func newWCOperationCounterVec(operation string, labels []string) *prometheus.CounterVec {
|
||||||
|
|
Loading…
Reference in a new issue