Compare commits

...

1 commit

Author SHA1 Message Date
2a12e83d42 [#434] metrics: Fix writecache duration
All checks were successful
ci/woodpecker/pr/pre-commit Pipeline was successful
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-06-07 17:12:52 +03:00

View file

@ -167,7 +167,7 @@ func setWriteCacheDuration(m *prometheus.HistogramVec, shardID string, success b
wcSuccess: fmt.Sprintf("%v", success),
wcStorage: storageType,
},
).Observe(float64(d))
).Observe(d.Seconds())
}
func newWCMethodDurationCounter(method string) *prometheus.HistogramVec {