{ "dashboard": { "id": null, "title": "Calejo Control Adapter Dashboard", "tags": ["calejo", "pump-control"], "timezone": "browser", "panels": [ { "id": 1, "title": "Application Uptime", "type": "stat", "targets": [ { "expr": "calejo_app_uptime_seconds", "legendFormat": "Uptime" } ], "fieldConfig": { "defaults": { "unit": "s" } }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 0 } }, { "id": 2, "title": "Database Connections", "type": "stat", "targets": [ { "expr": "calejo_db_connections_active", "legendFormat": "Active Connections" } ], "gridPos": { "h": 8, "w": 12, "x": 12, "y": 0 } }, { "id": 3, "title": "Protocol Connections", "type": "timeseries", "targets": [ { "expr": "calejo_opcua_connections", "legendFormat": "OPC UA" }, { "expr": "calejo_modbus_connections", "legendFormat": "Modbus" } ], "gridPos": { "h": 8, "w": 24, "x": 0, "y": 8 } }, { "id": 4, "title": "REST API Requests", "type": "timeseries", "targets": [ { "expr": "rate(calejo_rest_api_requests_total[5m])", "legendFormat": "Requests per second" } ], "gridPos": { "h": 8, "w": 12, "x": 0, "y": 16 } }, { "id": 5, "title": "Safety Violations", "type": "timeseries", "targets": [ { "expr": "rate(calejo_safety_violations_total[5m])", "legendFormat": "Violations per minute" } ], "gridPos": { "h": 8, "w": 12, "x": 12, "y": 16 } } ], "time": { "from": "now-6h", "to": "now" } } }