mirror of
https://github.com/prometheus/prometheus.git
synced 2025-11-28 14:11:02 +01:00
Merge pull request #12004 from vishalnad/main
Observe delta in seconds prometheus_tsdb_sample_ooo_delta
This commit is contained in:
commit
bfcf69b4a4
@ -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…
x
Reference in New Issue
Block a user