Fix writecache duration metric #434
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue