Skip to content
HALOWERK

Codewerk

grafana lint

Checks a dashboard export (plain or wrapped as {"dashboard": }) for structural problems and maintainability issues: missing uid or title, duplicate panel IDs, overlapping grid positions, panels without title or unit, Angular-era panel types that current Grafana no longer renders (graph, singlestat, table-old and others, with replacements), hard-coded datasources instead of a datasource variable, rate()/irate()/increase() with a fixed range instead of $__rate_interval, and refresh intervals.

POST https://code.halowerk.com/v1/grafana-lint

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
dashboardobject, stringYesDashboard JSON (object or string).
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "dashboard"
  ],
  "properties": {
    "dashboard": {
      "type": [
        "object",
        "string"
      ],
      "description": "Dashboard JSON (object or string)."
    }
  }
}

Open original schema

Published input example

{
  "dashboard": {
    "title": "API",
    "uid": "api-main",
    "schemaVersion": 39,
    "panels": [
      {
        "id": 1,
        "type": "timeseries",
        "title": "Requests",
        "gridPos": {
          "x": 0,
          "y": 0,
          "w": 12,
          "h": 8
        },
        "targets": [
          {
            "expr": "sum(rate(http_requests_total[$__rate_interval]))"
          }
        ]
      }
    ]
  }
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub โ†’