Merge pull request #12004 from vishalnad/main

Observe delta in seconds prometheus_tsdb_sample_ooo_delta
pull/12010/merge
Ganesh Vernekar 2 years ago committed by GitHub
commit bfcf69b4a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -367,7 +367,7 @@ func (a *headAppender) Append(ref storage.SeriesRef, lset labels.Labels, t int64
}
s.Unlock()
if delta > 0 {
a.head.metrics.oooHistogram.Observe(float64(delta))
a.head.metrics.oooHistogram.Observe(float64(delta) / 1000)
}
if err != nil {
switch err {

Loading…
Cancel
Save