From 29b7c0b4a6e786a1f1294a6a76c65fc79309ca5f Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin <valyala@victoriametrics.com> Date: Tue, 14 Jun 2022 12:31:59 +0300 Subject: [PATCH] docs/guides/migrate-from-influx.md: suggest more real-world value for `-search.maxStalenessInterval` Suggest `-search.maxStalenessInterval=10s` instead of `-search.maxStalenessInterval=1ms`, since `1ms` would result in empty graphs in most cases, since the interval between data points on the graph is usually much higher than 1ms. For example, if the graph shows time range of one hour and it contains 1000 points, then the interval between points on the graph would equal to 3600s/1000=3.6 seconds. --- docs/guides/migrate-from-influx.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/migrate-from-influx.md b/docs/guides/migrate-from-influx.md index 42105509f9..5487be42fc 100644 --- a/docs/guides/migrate-from-influx.md +++ b/docs/guides/migrate-from-influx.md @@ -203,7 +203,7 @@ behavior by adding `fill(previous)` to the query. VictoriaMetrics fills the gaps on the graph assuming time series are always continious and not discrete. To limit the interval on which VictoriaMetrics will try to fill the gaps try setting `-search.maxStalenessInterval` -command-line flag to the value equal to actual resolution between data points (for example, to `1ms`). +command-line flag to the value equal to actual resolution between data points (for example, to `10s`). ### Advanced usage