fail-severity assertion causes the check to fail; a failed warn-severity assertion records a DEGRADED hint without triggering a DOWN incident.
Severity levels
Assertion types
status_code
Validate the HTTP response status code.range to match a range of status codes:
response_time
Fail when response latency exceeds a threshold.response_time_warn
Record a degraded hint when response time is elevated but not critical.body_contains
Check that the response body contains a specific substring.json_path
Extract a value from a JSON response using JSONPath and compare it.header_value
Validate a response header value.regex_body
Match the response body against a regular expression.ssl_expiry
Alert before TLS certificates expire. RequiresverifyTls: true (the default).
response_size
Limit the response body size.redirect_count
Limit the number of redirects followed.redirect_target
Verify the final redirect destination URL.Operators reference
Common patterns
Health check with status + latency
Health check with status + latency
JSON API validation
JSON API validation
SSL + uptime combo
SSL + uptime combo
Next steps
HTTP configuration
Headers, body, TLS, and auth fields.
SSL monitoring guide
Certificate expiry monitoring patterns.
Incident policies
How assertion failures trigger incidents.
Monitoring as Code
Define assertions in YAML.