aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRasmus Dahlberg <rgdd@glasklarteknik.se>2025-01-04 14:22:20 +0100
committerRasmus Dahlberg <rgdd@glasklarteknik.se>2025-01-04 14:22:20 +0100
commit8a31fb55ef76714f617f079b67a573906f9cea77 (patch)
tree8821e2b41c4e32502debb461558d10007fddf0cf /docs
parent2d4c4b7ac260958b73527c5df366ba4944f4cd13 (diff)
prometheus: Add silentct_need_restart
Diffstat (limited to 'docs')
-rw-r--r--docs/metrics.md11
1 files changed, 11 insertions, 0 deletions
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.