Commit 2d46901c authored by HgO's avatar HgO
Browse files

round metrics for cert alert

parent f3d30436
Pipeline #816 passed with stage
in 5 minutes and 10 seconds
......@@ -85,7 +85,7 @@ groups:
rules:
- alert: Certificate Expires Next Month
for: 5m
expr: x509_cert_expiry{organization=""} / 86400 < 30
expr: round(x509_cert_expiry{organization=""} / 86400) < 30
labels:
severity: critical
frequency: daily
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment