mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 16:30:55 +01:00
app/vmselect/promql: add missing trace message in rollupResultCache.GetSeries()
This commit is contained in:
parent
44227c0287
commit
7fc5178a4b
@ -269,12 +269,10 @@ func (rrc *rollupResultCache) GetSeries(qt *querytracer.Tracer, ec *EvalConfig,
|
|||||||
i++
|
i++
|
||||||
}
|
}
|
||||||
if i == len(timestamps) {
|
if i == len(timestamps) {
|
||||||
// no matches.
|
|
||||||
qt.Printf("no datapoints found in the cached series on the given timeRange")
|
qt.Printf("no datapoints found in the cached series on the given timeRange")
|
||||||
return nil, ec.Start
|
return nil, ec.Start
|
||||||
}
|
}
|
||||||
if timestamps[i] != ec.Start {
|
if timestamps[i] != ec.Start {
|
||||||
// The cached range doesn't cover the requested range.
|
|
||||||
qt.Printf("cached series don't cover the given timeRange")
|
qt.Printf("cached series don't cover the given timeRange")
|
||||||
return nil, ec.Start
|
return nil, ec.Start
|
||||||
}
|
}
|
||||||
@ -285,7 +283,7 @@ func (rrc *rollupResultCache) GetSeries(qt *querytracer.Tracer, ec *EvalConfig,
|
|||||||
}
|
}
|
||||||
j++
|
j++
|
||||||
if j <= i {
|
if j <= i {
|
||||||
// no matches.
|
qt.Printf("no matching samples for the given timeRange")
|
||||||
return nil, ec.Start
|
return nil, ec.Start
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user