diff options
author | Rasmus Dahlberg <rgdd@glasklarteknik.se> | 2025-01-04 14:22:20 +0100 |
---|---|---|
committer | Rasmus Dahlberg <rgdd@glasklarteknik.se> | 2025-01-04 14:22:20 +0100 |
commit | d8e0b9c937dc974fef7484db3f85fabfe9272d7d (patch) | |
tree | bfe3e8295f1e5d0919fcb331a3ba478be0d99031 /integration | |
parent | 80667f1f5707b75cbd4aff47b51bab103c429b24 (diff) |
prometheus: Add basic metrics for alerting
- Detect if we're falling behind while downloading
- Detect if there are any found certificates alerting
Diffstat (limited to 'integration')
-rwxr-xr-x | integration/smoke-test | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/integration/smoke-test b/integration/smoke-test index 4d92478..a128592 100755 --- a/integration/smoke-test +++ b/integration/smoke-test @@ -95,3 +95,6 @@ pass "run the monitor and be warned of an unreported certificate" #------------------------------------------------------------------------------- echo "---" >&2 echo "All smoke tests passed" >&2 +echo "For interactive tests:" >&2 +echo "go run ../cmd/silentct-mon -c "$dir/config.json" -d "$dir/state" -C "dev:silentct" -p 15s -m localhost:8080 -v DEBUG" >&2 +echo "ALERT_BACKLOG=0 ALERT_FRESHNESS=0 ../scripts/silentct-check" >&2 |