From 8a31fb55ef76714f617f079b67a573906f9cea77 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Sat, 4 Jan 2025 14:22:20 +0100 Subject: prometheus: Add silentct_need_restart --- docs/metrics.md | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'docs') diff --git a/docs/metrics.md b/docs/metrics.md index b2b3445..6fa12c1 100644 --- a/docs/metrics.md +++ b/docs/metrics.md @@ -54,3 +54,14 @@ silentct_error_counter 0 ``` Do not use for alerting, this metric is too noisy and currently used for debug. + +## `"silentct_need_restart"` + +``` +# HELP silentct_need_restart A non-zero value if the monitor needs restarting. +# TYPE silentct_need_restart gauge +silentct_need_restart 0 +``` + +Restarts are normally not needed; but here's a metric until the `silentct-mon` +implementation can assure that all corner-cases are handled without restarts. -- cgit v1.2.3