Overview
Check Prometheus alerting and recording rules with the real promtool 3.15.1, run rule unit tests, and report convention gaps. Runs "promtool check rules --lint=all" on your rule file (syntax, PromQL parsing, template rendering, duplicate rules) and, if you send unit tests in promtool format, "promtool test rules" against it. Results are reported per message.
Protocol
x402 (POST)
Price
$0.0050
Payment Asset
USD Coin
Payment Network
Base
Category
uncategorized
Provider
code
Indexed
2026-11-20 14:09:44
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
Input Schema
{
"body": {
"rules": "groups:\n - name: api\n rules:\n - alert: HighErrorRate\n expr: sum(rate(http_requests_total{status=~\"5..\"}[5m])) / sum(rate(http_requests_total[5m])) > 0.05\n for: 10m\n labels: { severity: page }\n annotations: { summary: High error rate }\n"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"result": {
"conventions": [
{
"check": "alert_runbook",
"message": "No runbook_url annotation.",
"rule": "api/HighErrorRate"
}
],
"errors": [],
"groups": [
{
"alerts": 1,
"interval": null,
"name": "api",
"records": 0,
"rules": 1
}
],
"lint": [],
"tests": null,
"tool": "promtool 3.15.1",
"valid": true
},
"service": "promtool-rules",
"status": "success"
},
"type": "json"
}