{ "dashboard": { "title": "Service Overview", "description": "System overview dashboard for service monitoring", "tags": ["overview", "service"], "timezone": "browser", "refresh": "30s", "time": { "from": "now-1h", "to": "now" }, "panels": [ { "id": 1, "title": "Request Rate", "type": "graph", "description": "HTTP request rate per second", "targets": [ { "expr": "rate(http_requests_total[5m])", "refId": "A", "legendFormat": "{{ method }} {{ path }}" } ], "gridPos": { "h": 8, "w": 12, "x": 0, "y": 0 }, "unit": "rps", "decimals": 2 }, { "id": 2, "title": "Error Rate", "type": "gauge", "description": "Error rate percentage", "targets": [ { "expr": "rate(http_errors_total[5m])", "refId": "A" } ], "gridPos": { "h": 8, "w": 12, "x": 12, "y": 0 }, "unit": "percentunit", "decimals": 2 }, { "id": 3, "title": "Response Time (p95)", "type": "graph", "description": "95th percentile response time", "targets": [ { "expr": "histogram_quantile(0.95, rate(http_request_duration_seconds_bucket[5m]))", "refId": "A", "legendFormat": "p95" } ], "gridPos": { "h": 8, "w": 24, "x": 0, "y": 8 }, "unit": "s", "decimals": 3 }, { "id": 4, "title": "Active Connections", "type": "stat", "description": "Current number of active connections", "targets": [ { "expr": "http_connections_active", "refId": "A" } ], "gridPos": { "h": 4, "w": 6, "x": 0, "y": 16 }, "unit": "short", "decimals": 0 }, { "id": 5, "title": "Memory Usage", "type": "gauge", "description": "Process memory usage", "targets": [ { "expr": "process_resident_memory_bytes / 1024 / 1024", "refId": "A", "legendFormat": "MB" } ], "gridPos": { "h": 4, "w": 6, "x": 6, "y": 16 }, "unit": "short", "decimals": 1 }, { "id": 6, "title": "CPU Time", "type": "gauge", "description": "CPU usage percentage", "targets": [ { "expr": "rate(process_cpu_seconds_total[5m]) * 100", "refId": "A", "legendFormat": "%" } ], "gridPos": { "h": 4, "w": 6, "x": 12, "y": 16 }, "unit": "percent", "decimals": 1 } ], "templating": { "list": [] }, "version": 1 }, "overwrite": true }