mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-10 15:14:09 +00:00
app/vmselect/promql: tolerate higher jitter in scrape interval
Allow jitter for up to 1/8 instead of 1/16 for the scrape interval. This should imrpove graphs when `step` is smaller than the `scrape_interval`.
This commit is contained in:
parent
10caad4728
commit
f090b2e917
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ func getMaxPrevInterval(timestamps []int64) int64 {
|
|||
return 1
|
||||
}
|
||||
// Slightly increase d in order to handle possible jitter in scrape interval.
|
||||
return d + (d / 16)
|
||||
return d + (d / 8)
|
||||
}
|
||||
|
||||
func removeCounterResets(values []float64) {
|
||||
|
|
Loading…
Reference in a new issue