VictoriaMetrics/app/vmctl/utils
Dmytro Kozlov 9817ecdcc9
app/vmctl: break explore phase in vm-native mode by time intervals
When `--vm-native-step-interval` is specified, explore phase will be executed
within specified intervals. Discovered metric names will be associated with
time intervals at which they were discovered. This suppose to reduce number
of requests vmctl makes per metric name since it will skip time intervals
when metric name didn't exist.

This should also reduce probability of exceeding complexity limits
for number of selected series in one request during explore phase.

https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5369
Signed-off-by: hagen1778 <roman@victoriametrics.com>
(cherry picked from commit 5f8b91186a)
2024-03-25 15:42:24 +01:00
..
time.go app/vmctl: break explore phase in vm-native mode by time intervals 2024-03-25 15:42:24 +01:00
time_test.go app/vmctl: break explore phase in vm-native mode by time intervals 2024-03-25 15:42:24 +01:00