From f7a7eb8f3e75b071bfe83a0732c03ece6f756acc Mon Sep 17 00:00:00 2001 From: Zakhar Bessarab Date: Fri, 10 Mar 2023 16:45:11 +0400 Subject: [PATCH] docs: add a note about cache reset for vmalert backfilling docs (#3940) docs: add a note about cache reset for vmalert backfilling docs --- app/vmalert/README.md | 4 ++++ docs/vmalert.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/app/vmalert/README.md b/app/vmalert/README.md index 617e73a75..4f8874910 100644 --- a/app/vmalert/README.md +++ b/app/vmalert/README.md @@ -621,6 +621,10 @@ can read the same rules configuration as normal, evaluate them on the given time results via remote write to the configured storage. vmalert supports any PromQL/MetricsQL compatible data source for backfilling. +Please note, that response caching may lead to unexpected results during and after backfilling process. +In order to avoid this you need to reset cache contents or disable caching when using backfilling +as described in [backfilling docs](https://docs.victoriametrics.com/Single-server-VictoriaMetrics.html#backfilling). + See a blogpost about [Rules backfilling via vmalert](https://victoriametrics.com/blog/rules-replay/). ### How it works diff --git a/docs/vmalert.md b/docs/vmalert.md index c566abcad..f619ce06a 100644 --- a/docs/vmalert.md +++ b/docs/vmalert.md @@ -625,6 +625,10 @@ can read the same rules configuration as normal, evaluate them on the given time results via remote write to the configured storage. vmalert supports any PromQL/MetricsQL compatible data source for backfilling. +Please note, that response caching may lead to unexpected results during and after backfilling process. +In order to avoid this you need to reset cache contents or disable caching when using backfilling +as described in [backfilling docs](https://docs.victoriametrics.com/Single-server-VictoriaMetrics.html#backfilling). + See a blogpost about [Rules backfilling via vmalert](https://victoriametrics.com/blog/rules-replay/). ### How it works