{
    "url": "https://delaparra-services.nl/skills/grafana-dashboards",
    "locale": "en",
    "title": "Grafana Dashboards | DeLaParra Services",
    "description": "Create and manage production Grafana dashboards for real-time visualization of system and application metrics. Use when building monitoring dashboards, visualizing metrics, or creating operational observability interfaces.",
    "alternates": {
        "en": "https://delaparra-services.nl/skills/grafana-dashboards",
        "nl": "https://delaparra-services.nl/nl/skills/grafana-dashboards"
    },
    "formats": {
        "csv": "https://delaparra-services.nl/skills/grafana-dashboards.csv",
        "md": "https://delaparra-services.nl/skills/grafana-dashboards.md",
        "json": "https://delaparra-services.nl/skills/grafana-dashboards.json",
        "zip": "https://delaparra-services.nl/skills/grafana-dashboards.zip",
        "pdf": "https://delaparra-services.nl/skills/grafana-dashboards.pdf"
    },
    "downloads": [
        {
            "url": "https://delaparra-services.nl/skills/grafana-dashboards.csv",
            "encodingFormat": "text/csv",
            "name": "grafana-dashboards.csv"
        },
        {
            "url": "https://delaparra-services.nl/skills/grafana-dashboards.json",
            "encodingFormat": "application/json",
            "name": "grafana-dashboards.json"
        },
        {
            "url": "https://delaparra-services.nl/skills/grafana-dashboards.md",
            "encodingFormat": "text/markdown",
            "name": "grafana-dashboards.md"
        },
        {
            "url": "https://delaparra-services.nl/skills/grafana-dashboards.pdf",
            "encodingFormat": "application/pdf",
            "name": "grafana-dashboards.pdf"
        },
        {
            "url": "https://delaparra-services.nl/skills/grafana-dashboards.zip",
            "encodingFormat": "application/zip",
            "name": "grafana-dashboards.zip"
        },
        {
            "url": "https://delaparra-services.nl/skills/grafana-dashboards/download",
            "encodingFormat": "application/zip",
            "name": "grafana-dashboards-files.zip"
        }
    ],
    "markdown": "# Grafana Dashboards\n\n \n\nCreate and manage production Grafana dashboards for real-time visualization of system and application metrics. Use when building monitoring dashboards, visualizing metrics, or creating operational observability interfaces.\n\n \n\n**Licence** MIT\n\n \n\n**Source** wshobson/agents\n\n [Download zip](<https://delaparra-services.nl/skills/grafana-dashboards/download>)   \n\n# Grafana Dashboards\n\n \n\nCreate and manage production-ready Grafana dashboards for comprehensive system observability.\n\n \n\n## Purpose\n\n \n\nDesign effective Grafana dashboards for monitoring applications, infrastructure, and business metrics.\n\n \n\n## When to Use\n\n \n\n- Visualize Prometheus metrics \n- Create custom dashboards \n- Implement SLO dashboards \n- Monitor infrastructure \n- Track business KPIs\n\n \n\n## Dashboard Design Principles\n\n \n\n### 1. Hierarchy of Information\n\n \n\n```\n┌─────────────────────────────────────┐\n│  Critical Metrics (Big Numbers)     │\n├─────────────────────────────────────┤\n│  Key Trends (Time Series)           │\n├─────────────────────────────────────┤\n│  Detailed Metrics (Tables/Heatmaps) │\n└─────────────────────────────────────┘\n```\n\n \n\n### 2. RED Method (Services)\n\n \n\n- **Rate** - Requests per second \n- **Errors** - Error rate \n- **Duration** - Latency/response time\n\n \n\n### 3. USE Method (Resources)\n\n \n\n- **Utilization** - % time resource is busy \n- **Saturation** - Queue length/wait time \n- **Errors** - Error count\n\n \n\n## Dashboard Structure\n\n \n\n### API Monitoring Dashboard\n\n \n\n```\n{\n  \"dashboard\": {\n    \"title\": \"API Monitoring\",\n    \"tags\": [\"api\", \"production\"],\n    \"timezone\": \"browser\",\n    \"refresh\": \"30s\",\n    \"panels\": [\n      {\n        \"title\": \"Request Rate\",\n        \"type\": \"graph\",\n        \"targets\": [\n          {\n            \"expr\": \"sum(rate(http_requests_total[5m])) by (service)\",\n            \"legendFormat\": \"{{service}}\"\n          }\n        ],\n        \"gridPos\": { \"x\": 0, \"y\": 0, \"w\": 12, \"h\": 8 }\n      },\n      {\n        \"title\": \"Error Rate %\",\n        \"type\": \"graph\",\n        \"targets\": [\n          {\n            \"expr\": \"(sum(rate(http_requests_total{status=~\\\"5..\\\"}[5m])) / sum(rate(http_requests_total[5m]))) * 100\",\n            \"legendFormat\": \"Error Rate\"\n          }\n        ],\n        \"alert\": {\n          \"conditions\": [\n            {\n              \"evaluator\": { \"params\": [5], \"type\": \"gt\" },\n              \"operator\": { \"type\": \"and\" },\n              \"query\": { \"params\": [\"A\", \"5m\", \"now\"] },\n              \"type\": \"query\"\n            }\n          ]\n        },\n        \"gridPos\": { \"x\": 12, \"y\": 0, \"w\": 12, \"h\": 8 }\n      },\n      {\n        \"title\": \"P95 Latency\",\n        \"type\": \"graph\",\n        \"targets\": [\n          {\n            \"expr\": \"histogram_quantile(0.95, sum(rate(http_request_duration_seconds_bucket[5m])) by (le, service))\",\n            \"legendFormat\": \"{{service}}\"\n          }\n        ],\n        \"gridPos\": { \"x\": 0, \"y\": 8, \"w\": 24, \"h\": 8 }\n      }\n    ]\n  }\n}\n```\n\n \n\n## Panel Types\n\n \n\n### 1. Stat Panel (Single Value)\n\n \n\n```\n{\n  \"type\": \"stat\",\n  \"title\": \"Total Requests\",\n  \"targets\": [\n    {\n      \"expr\": \"sum(http_requests_total)\"\n    }\n  ],\n  \"options\": {\n    \"reduceOptions\": {\n      \"values\": false,\n      \"calcs\": [\"lastNotNull\"]\n    },\n    \"orientation\": \"auto\",\n    \"textMode\": \"auto\",\n    \"colorMode\": \"value\"\n  },\n  \"fieldConfig\": {\n    \"defaults\": {\n      \"thresholds\": {\n        \"mode\": \"absolute\",\n        \"steps\": [\n          { \"value\": 0, \"color\": \"green\" },\n          { \"value\": 80, \"color\": \"yellow\" },\n          { \"value\": 90, \"color\": \"red\" }\n        ]\n      }\n    }\n  }\n}\n```\n\n \n\n### 2. Time Series Graph\n\n \n\n```\n{\n  \"type\": \"graph\",\n  \"title\": \"CPU Usage\",\n  \"targets\": [\n    {\n      \"expr\": \"100 - (avg by (instance) (rate(node_cpu_seconds_total{mode=\\\"idle\\\"}[5m])) * 100)\"\n    }\n  ],\n  \"yaxes\": [\n    { \"format\": \"percent\", \"max\": 100, \"min\": 0 },\n    { \"format\": \"short\" }\n  ]\n}\n```\n\n \n\n### 3. Table Panel\n\n \n\n```\n{\n  \"type\": \"table\",\n  \"title\": \"Service Status\",\n  \"targets\": [\n    {\n      \"expr\": \"up\",\n      \"format\": \"table\",\n      \"instant\": true\n    }\n  ],\n  \"transformations\": [\n    {\n      \"id\": \"organize\",\n      \"options\": {\n        \"excludeByName\": { \"Time\": true },\n        \"indexByName\": {},\n        \"renameByName\": {\n          \"instance\": \"Instance\",\n          \"job\": \"Service\",\n          \"Value\": \"Status\"\n        }\n      }\n    }\n  ]\n}\n```\n\n \n\n### 4. Heatmap\n\n \n\n```\n{\n  \"type\": \"heatmap\",\n  \"title\": \"Latency Heatmap\",\n  \"targets\": [\n    {\n      \"expr\": \"sum(rate(http_request_duration_seconds_bucket[5m])) by (le)\",\n      \"format\": \"heatmap\"\n    }\n  ],\n  \"dataFormat\": \"tsbuckets\",\n  \"yAxis\": {\n    \"format\": \"s\"\n  }\n}\n```\n\n \n\n## Variables\n\n \n\n### Query Variables\n\n \n\n```\n{\n  \"templating\": {\n    \"list\": [\n      {\n        \"name\": \"namespace\",\n        \"type\": \"query\",\n        \"datasource\": \"Prometheus\",\n        \"query\": \"label_values(kube_pod_info, namespace)\",\n        \"refresh\": 1,\n        \"multi\": false\n      },\n      {\n        \"name\": \"service\",\n        \"type\": \"query\",\n        \"datasource\": \"Prometheus\",\n        \"query\": \"label_values(kube_service_info{namespace=\\\"$namespace\\\"}, service)\",\n        \"refresh\": 1,\n        \"multi\": true\n      }\n    ]\n  }\n}\n```\n\n \n\n### Use Variables in Queries\n\n \n\n```\nsum(rate(http_requests_total{namespace=\"$namespace\", service=~\"$service\"}[5m]))\n```\n\n \n\n## Alerts in Dashboards\n\n \n\n```\n{\n  \"alert\": {\n    \"name\": \"High Error Rate\",\n    \"conditions\": [\n      {\n        \"evaluator\": {\n          \"params\": [5],\n          \"type\": \"gt\"\n        },\n        \"operator\": { \"type\": \"and\" },\n        \"query\": {\n          \"params\": [\"A\", \"5m\", \"now\"]\n        },\n        \"reducer\": { \"type\": \"avg\" },\n        \"type\": \"query\"\n      }\n    ],\n    \"executionErrorState\": \"alerting\",\n    \"for\": \"5m\",\n    \"frequency\": \"1m\",\n    \"message\": \"Error rate is above 5%\",\n    \"noDataState\": \"no_data\",\n    \"notifications\": [{ \"uid\": \"slack-channel\" }]\n  }\n}\n```\n\n \n\n## Dashboard Provisioning\n\n \n\n**dashboards.yml:**\n\n \n\n```\napiVersion: 1\n\nproviders:\n  - name: \"default\"\n    orgId: 1\n    folder: \"General\"\n    type: file\n    disableDeletion: false\n    updateIntervalSeconds: 10\n    allowUiUpdates: true\n    options:\n      path: /etc/grafana/dashboards\n```\n\n \n\n## Common Dashboard Patterns\n\n \n\n### Infrastructure Dashboard\n\n \n\n**Key Panels:**\n\n \n\n- CPU utilization per node \n- Memory usage per node \n- Disk I/O \n- Network traffic \n- Pod count by namespace \n- Node status\n\n \n\n### Database Dashboard\n\n \n\n**Key Panels:**\n\n \n\n- Queries per second \n- Connection pool usage \n- Query latency (P50, P95, P99) \n- Active connections \n- Database size \n- Replication lag \n- Slow queries\n\n \n\n### Application Dashboard\n\n \n\n**Key Panels:**\n\n \n\n- Request rate \n- Error rate \n- Response time (percentiles) \n- Active users/sessions \n- Cache hit rate \n- Queue length\n\n \n\n## Best Practices\n\n \n\n1. **Start with templates** (Grafana community dashboards) \n1. **Use consistent naming** for panels and variables \n1. **Group related metrics** in rows \n1. **Set appropriate time ranges** (default: Last 6 hours) \n1. **Use variables** for flexibility \n1. **Add panel descriptions** for context \n1. **Configure units** correctly \n1. **Set meaningful thresholds** for colors \n1. **Use consistent colors** across dashboards \n1. **Test with different time ranges**\n\n \n\n## Dashboard as Code\n\n \n\n### Terraform Provisioning\n\n \n\n```\nresource \"grafana_dashboard\" \"api_monitoring\" {\n  config_json = file(\"${path.module}/dashboards/api-monitoring.json\")\n  folder      = grafana_folder.monitoring.id\n}\n\nresource \"grafana_folder\" \"monitoring\" {\n  title = \"Production Monitoring\"\n}\n```\n\n \n\n### Ansible Provisioning\n\n \n\n```\n- name: Deploy Grafana dashboards\n  copy:\n    src: \"{{ item }}\"\n    dest: /etc/grafana/dashboards/\n  with_fileglob:\n    - \"dashboards/*.json\"\n  notify: restart grafana\n```\n\n \n\n## Related Skills\n\n \n\n- ` prometheus-configuration ` - For metric collection \n- ` slo-implementation ` - For SLO dashboards\n\n \n\n## Files\n\n \n\n- ` LICENSE ` \n- ` SKILL.md ` \n- ` SOURCE.md `\n\n \n\n## Related terms\n\n \n\n- [context propagation](<https://delaparra-services.nl/knowledge-hub/context-propagation>) \n- [instrumentation](<https://delaparra-services.nl/knowledge-hub/instrumentation>) \n- [Jaeger](<https://delaparra-services.nl/knowledge-hub/jaeger>) \n- [Latency](<https://delaparra-services.nl/knowledge-hub/latency>) \n- [OpenTelemetry (OTEL)](<https://delaparra-services.nl/knowledge-hub/opentelemetry-otel>) \n- [sampling](<https://delaparra-services.nl/knowledge-hub/sampling>) \n- [SLA (Service Level Agreement)](<https://delaparra-services.nl/knowledge-hub/sla-service-level-agreement>) \n- [SLI (Service Level Indicator)](<https://delaparra-services.nl/knowledge-hub/sli-service-level-indicator>) \n- [SLO (Service Level Objective)](<https://delaparra-services.nl/knowledge-hub/slo-service-level-objective>) \n- [span](<https://delaparra-services.nl/knowledge-hub/span>) \n- [Throughput](<https://delaparra-services.nl/knowledge-hub/throughput>) \n- [trace](<https://delaparra-services.nl/knowledge-hub/trace>)\n\n \n\n[Installing an agent skill in Claude Code, Codex, Cursor and Copilot](<https://delaparra-services.nl/manuals/een-skill-installeren-in-je-ai-assistent>)\n\n[HTML version](https://delaparra-services.nl/skills/grafana-dashboards)\n",
    "structured_data": {
        "@context": "https://schema.org",
        "@graph": [
            {
                "@type": "Organization",
                "@id": "https://delaparra-services.nl/#practice",
                "logo": "https://delaparra-services.nl/logo.png",
                "name": "DeLaParra Services",
                "legalName": "DeLaParra Services",
                "url": "https://delaparra-services.nl/",
                "description": "Bespoke software, web applications and mobile apps, developed in Laravel by a single developer in Groningen. Fixed price agreed in advance, full source code provided upon delivery.",
                "email": "info@delaparra-services.nl",
                "address": {
                    "@type": "PostalAddress",
                    "addressLocality": "Groningen",
                    "addressRegion": "Groningen",
                    "addressCountry": "NL"
                },
                "areaServed": "Groningen, the Netherlands",
                "knowsLanguage": [
                    "en",
                    "nl"
                ],
                "knowsAbout": [
                    "Web design and development",
                    "App development",
                    "Custom software and web applications",
                    "OpenSpec",
                    "AI code review",
                    "Your own coding agent"
                ],
                "founder": {
                    "@id": "https://delaparra-services.nl/#person"
                }
            },
            {
                "@type": "WebPage",
                "@id": "https://delaparra-services.nl/skills/grafana-dashboards#webpage",
                "url": "https://delaparra-services.nl/skills/grafana-dashboards",
                "name": "Grafana Dashboards | DeLaParra Services",
                "description": "Create and manage production Grafana dashboards for real-time visualization of system and application metrics. Use when building monitoring dashboards, visualizing metrics, or creating operational observability interfaces.",
                "isPartOf": {
                    "@id": "https://delaparra-services.nl/#website"
                },
                "about": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "inLanguage": "en",
                "breadcrumb": {
                    "@id": "https://delaparra-services.nl/skills/grafana-dashboards#breadcrumb"
                }
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://delaparra-services.nl/skills/grafana-dashboards#breadcrumb",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "Home",
                        "item": "https://delaparra-services.nl/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "Grafana Dashboards"
                    }
                ]
            },
            {
                "@type": "Person",
                "@id": "https://delaparra-services.nl/#person",
                "name": "Reinier de la Parra",
                "url": "https://delaparra-services.nl/about"
            },
            {
                "@type": "SoftwareSourceCode",
                "@id": "https://delaparra-services.nl/skills/grafana-dashboards#skill",
                "url": "https://delaparra-services.nl/skills/grafana-dashboards",
                "name": "Grafana Dashboards",
                "description": "Create and manage production Grafana dashboards for real-time visualization of system and application metrics. Use when building monitoring dashboards, visualizing metrics, or creating operational observability interfaces.",
                "inLanguage": "en",
                "license": "https://spdx.org/licenses/MIT.html",
                "subjectOf": {
                    "@id": "https://delaparra-services.nl/skills/grafana-dashboards#dataset"
                }
            },
            {
                "@type": "Dataset",
                "@id": "https://delaparra-services.nl/skills/grafana-dashboards#dataset",
                "name": "Grafana Dashboards",
                "description": "Create and manage production Grafana dashboards for real-time visualization of system and application metrics. Use when building monitoring dashboards, visualizing metrics, or creating operational observability interfaces.",
                "url": "https://delaparra-services.nl/skills/grafana-dashboards",
                "identifier": "https://delaparra-services.nl/skills/grafana-dashboards#dataset",
                "about": {
                    "@id": "https://delaparra-services.nl/skills/grafana-dashboards#skill"
                },
                "creditText": "wshobson/agents",
                "publisher": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "license": "https://spdx.org/licenses/MIT.html",
                "isAccessibleForFree": true,
                "inLanguage": "en",
                "dateModified": "2026-11-28T14:00:11+00:00",
                "isPartOf": {
                    "@type": "Dataset",
                    "@id": "https://delaparra-services.nl/knowledge-hub#skills",
                    "name": "Skills for AI coding assistants",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "includedInDataCatalog": {
                    "@type": "DataCatalog",
                    "@id": "https://delaparra-services.nl/knowledge-hub#catalog",
                    "name": "Knowledge hub data catalog",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "distribution": [
                    {
                        "@type": "DataDownload",
                        "name": "grafana-dashboards.csv",
                        "encodingFormat": "text/csv",
                        "contentUrl": "https://delaparra-services.nl/skills/grafana-dashboards.csv",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T14:00:11+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "grafana-dashboards.json",
                        "encodingFormat": "application/json",
                        "contentUrl": "https://delaparra-services.nl/skills/grafana-dashboards.json",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T14:00:11+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "grafana-dashboards.md",
                        "encodingFormat": "text/markdown",
                        "contentUrl": "https://delaparra-services.nl/skills/grafana-dashboards.md",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T14:00:11+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "grafana-dashboards.pdf",
                        "encodingFormat": "application/pdf",
                        "contentUrl": "https://delaparra-services.nl/skills/grafana-dashboards.pdf",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T14:00:11+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "grafana-dashboards.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/skills/grafana-dashboards.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T14:00:11+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "grafana-dashboards-files.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/skills/grafana-dashboards/download",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T14:00:11+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    }
                ]
            }
        ]
    }
}