Lint a Grafana dashboard JSON: PromQL syntax via promtool, datasource variables,...
https://code.halowerk.com/v1/grafana-lintOverview
Lint a Grafana dashboard JSON: PromQL syntax via promtool, datasource variables, deprecated panel types, overlapping panels, units, titles and rate intervals.
Protocol
x402 (POST)
Price
$0.0040
Payment Asset
USD Coin
Payment Network
Base
Category
uncategorized
Provider
code
Source
bazaar
Indexed
2026-11-20 13:10:04
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
x402 Payment Validation
Payment Requirements
—
Asset Verified
—
Facilitator
—
Input Schema
{
"body": {
"dashboard": {
"panels": [
{
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 0
},
"id": 1,
"targets": [
{
"expr": "sum(rate(http_requests_total[$__rate_interval]))"
}
],
"title": "Requests",
"type": "timeseries"
}
],
"schemaVersion": 39,
"title": "API",
"uid": "api-main"
}
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"result": {
"counts": {
"error": 0,
"info": 2,
"warning": 0
},
"issues": [
{
"message": "No datasource template variable; the dashboard is bound to fixed datasources.",
"rule": "template-datasource",
"severity": "info"
},
{
"message": "No unit set; values are shown without unit.",
"panel_id": 1,
"panel_title": "Requests",
"rule": "panel-units",
"severity": "info"
}
],
"panels": 1,
"promql": {
"checked": 1,
"invalid": 0,
"tool": "promtool 3.15.1"
},
"schema_version": 39,
"title": "API",
"uid": "api-main"
},
"service": "grafana-lint",
"status": "success"
},
"type": "json"
}