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.
This commit is contained in:
Aliaksandr Valialkin 2022-06-14 12:31:59 +03:00
parent aecac75ec7
commit 29b7c0b4a6
No known key found for this signature in database
GPG Key ID: A72BEC6CD3D0DED1

View File

@ -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