aboutsummaryrefslogtreecommitdiff
path: root/config.example.yaml
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-01-19 04:38:08 -0800
committerFuwn <[email protected]>2026-01-19 04:38:08 -0800
commit2f2549d6df7300b04a4550dc060a3d7f684a0b41 (patch)
tree0e58a578a7113569b9f0464bd094e9164903c560 /config.example.yaml
parentdocs: Add TOFU certificate tracking to future ideas (diff)
downloadkaze-2f2549d6df7300b04a4550dc060a3d7f684a0b41.tar.xz
kaze-2f2549d6df7300b04a4550dc060a3d7f684a0b41.zip
feat: Add reset_on_next_check flag to wipe monitor history
Diffstat (limited to 'config.example.yaml')
-rw-r--r--config.example.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/config.example.yaml b/config.example.yaml
index dd15ac1..c3876a7 100644
--- a/config.example.yaml
+++ b/config.example.yaml
@@ -62,7 +62,8 @@ groups:
target: "https://example.com"
interval: 30s
timeout: 10s
- retries: 2 # Retry 2 times before marking as down (default: 0)
+ retries: 2 # Retry 2 times before marking as down (default: 0)
+ # reset_on_next_check: true # Wipe all historical data on next check and flip to false
expected_status: 200
verify_ssl: true
@@ -138,6 +139,8 @@ incidents:
# timeout: duration - Request timeout (default: 10s)
# retries: int - Number of retry attempts before marking as down (default: 0)
# Retries are attempted with a 500ms delay between attempts
+# reset_on_next_check: bool - When true, wipes all historical data for this monitor on next check
+# Automatically flips to false after reset completes
#
# HTTP/HTTPS specific fields:
# expected_status: int - Expected HTTP status code (default: 200)