{ "title": "Infrastructure Overview", "tags": ["infrastructure", "overview"], "style": "dark", "timezone": "browser", "panels": [ { "id": 1, "title": "HTTP Service Health Status", "type": "stat", "targets": [ { "expr": "probe_success{job=\"http-service-health\"}", "refId": "A" } ], "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "thresholds": { "steps": [ {"color": "red", "value": 0}, {"color": "green", "value": 1} ] }, "mappings": [ { "options": { "0": {"text": "Down", "color": "red"}, "1": {"text": "Up", "color": "green"} }, "type": "value" } ], "unit": "short" } }, "gridPos": {"h": 8, "w": 12, "x": 0, "y": 0}, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "textMode": "auto" } }, { "id": 2, "title": "TCP Service Health Status", "type": "stat", "targets": [ { "expr": "probe_success{job=\"tcp-service-health\"}", "refId": "A" } ], "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "thresholds": { "steps": [ {"color": "red", "value": 0}, {"color": "green", "value": 1} ] }, "mappings": [ { "options": { "0": {"text": "Down", "color": "red"}, "1": {"text": "Up", "color": "green"} }, "type": "value" } ], "unit": "short" } }, "gridPos": {"h": 8, "w": 12, "x": 12, "y": 0}, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "textMode": "auto" } }, { "id": 3, "title": "Service Response Time", "type": "timeseries", "targets": [ { "expr": "probe_duration_seconds{job=\"http-service-health\"}", "refId": "A" } ], "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "vis": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "unit": "s" } }, "gridPos": {"h": 8, "w": 24, "x": 0, "y": 8} }, { "id": 4, "title": "HTTP Service Availability Summary", "type": "stat", "targets": [ { "expr": "sum(probe_success{job=\"http-service-health\"})", "refId": "A" } ], "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "thresholds": { "steps": [ {"color": "red", "value": 0}, {"color": "yellow", "value": 3}, {"color": "green", "value": 6} ] }, "unit": "short" } }, "gridPos": {"h": 8, "w": 12, "x": 0, "y": 16}, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "textMode": "auto" } }, { "id": 5, "title": "Service Details", "type": "table", "targets": [ { "expr": "probe_success{job=~\"http-service-health|tcp-service-health\"}", "refId": "A" } ], "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "thresholds": { "steps": [ {"color": "red", "value": 0}, {"color": "green", "value": 1} ] }, "mappings": [ { "options": { "0": {"text": "Offline", "color": "red"}, "1": {"text": "Online", "color": "green"} }, "type": "value" } ] } }, "gridPos": {"h": 8, "w": 12, "x": 12, "y": 16}, "transformations": [ { "id": "organize", "options": { "excludeByName": { "Time": true, "__name__": true, "job": true }, "indexByName": {}, "renameByName": { "Value": "Status", "instance": "Service" } } } ] } ], "time": { "from": "now-1h", "to": "now" }, "refresh": "30s" }