| { |
| "annotations": { |
| "list": [ |
| { |
| "builtIn": 1, |
| "datasource": "-- Grafana --", |
| "enable": true, |
| "hide": true, |
| "iconColor": "rgba(0, 211, 255, 1)", |
| "name": "Annotations & Alerts", |
| "target": { |
| "limit": 100, |
| "matchAny": false, |
| "tags": [], |
| "type": "dashboard" |
| }, |
| "type": "dashboard" |
| } |
| ] |
| }, |
| "editable": true, |
| "gnetId": null, |
| "graphTooltip": 0, |
| "id": 3, |
| "iteration": 1641486134033, |
| "links": [], |
| "panels": [ |
| { |
| "datasource": "${datasource}", |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "thresholds" |
| }, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| }, |
| { |
| "color": "#EAB839", |
| "value": 2.5 |
| }, |
| { |
| "color": "red", |
| "value": 5 |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 10, |
| "w": 24, |
| "x": 0, |
| "y": 0 |
| }, |
| "id": 2, |
| "options": { |
| "colorMode": "background", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "auto", |
| "reduceOptions": { |
| "calcs": [ |
| "lastNotNull" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "text": { |
| "titleSize": 8, |
| "valueSize": 14 |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "8.1.8", |
| "targets": [ |
| { |
| "exemplar": true, |
| "expr": "device_connection_event_core{site=\"$site\", serial_number=\"$serial_number\"}", |
| "interval": "", |
| "legendFormat": "{{iccid}},{{msg}}", |
| "refId": "A" |
| } |
| ], |
| "title": "Device Connection Event Core", |
| "type": "stat" |
| }, |
| { |
| "datasource": "${datasource}", |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "thresholds" |
| }, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| }, |
| { |
| "color": "#EAB839", |
| "value": 2.5 |
| }, |
| { |
| "color": "red", |
| "value": 5 |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 10, |
| "w": 24, |
| "x": 0, |
| "y": 10 |
| }, |
| "id": 3, |
| "options": { |
| "colorMode": "background", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "auto", |
| "reduceOptions": { |
| "calcs": [ |
| "lastNotNull" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "text": { |
| "titleSize": 8, |
| "valueSize": 14 |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "8.1.8", |
| "targets": [ |
| { |
| "exemplar": true, |
| "expr": "device_connection_event_ran{site=\"$site\", serial_number=\"$serial_number\"}", |
| "interval": "", |
| "legendFormat": "{{iccid}},{{msg}}", |
| "refId": "A" |
| } |
| ], |
| "title": "Device Connection Event Ran", |
| "type": "stat" |
| }, |
| { |
| "datasource": "${datasource}", |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "thresholds" |
| }, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| }, |
| { |
| "color": "#EAB839", |
| "value": 2.5 |
| }, |
| { |
| "color": "red", |
| "value": 5 |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 10, |
| "w": 24, |
| "x": 0, |
| "y": 20 |
| }, |
| "id": 4, |
| "options": { |
| "colorMode": "background", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "auto", |
| "reduceOptions": { |
| "calcs": [ |
| "lastNotNull" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "text": { |
| "titleSize": 8, |
| "valueSize": 14 |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "8.1.8", |
| "targets": [ |
| { |
| "exemplar": true, |
| "expr": "device_connection_event_fabric{site=\"$site\", serial_number=\"$serial_number\"}", |
| "interval": "", |
| "legendFormat": "{{iccid}},{{msg}}", |
| "refId": "A" |
| } |
| ], |
| "title": "Device Connection Event Fabric", |
| "type": "stat" |
| } |
| ], |
| "refresh": "5s", |
| "schemaVersion": 30, |
| "style": "dark", |
| "tags": [], |
| "templating": { |
| "list": [ |
| { |
| "current": { |
| "selected": false, |
| "text": "datasource-chronos", |
| "value": "datasource-chronos" |
| }, |
| "description": null, |
| "error": null, |
| "hide": 0, |
| "includeAll": false, |
| "label": null, |
| "multi": false, |
| "name": "datasource", |
| "options": [], |
| "query": "prometheus", |
| "refresh": 1, |
| "regex": "", |
| "skipUrlSync": false, |
| "type": "datasource" |
| }, |
| { |
| "allValue": null, |
| "current": { |
| "selected": true, |
| "text": "berlin", |
| "value": "berlin" |
| }, |
| "datasource": "${datasource}", |
| "definition": "label_values(site)", |
| "description": null, |
| "error": null, |
| "hide": 0, |
| "includeAll": false, |
| "label": null, |
| "multi": false, |
| "name": "site", |
| "options": [], |
| "query": { |
| "query": "label_values(site)", |
| "refId": "StandardVariableQuery" |
| }, |
| "refresh": 1, |
| "regex": "", |
| "skipUrlSync": false, |
| "sort": 0, |
| "type": "query" |
| }, |
| { |
| "allValue": null, |
| "current": { |
| "selected": true, |
| "text": "18876887", |
| "value": "18876887" |
| }, |
| "datasource": "${datasource}", |
| "definition": "label_values(device_connection_event_core{site=\"$site\"}, serial_number)", |
| "description": null, |
| "error": null, |
| "hide": 0, |
| "includeAll": false, |
| "label": null, |
| "multi": false, |
| "name": "serial_number", |
| "options": [], |
| "query": { |
| "query": "label_values(device_connection_event_core{site=\"$site\"}, serial_number)", |
| "refId": "StandardVariableQuery" |
| }, |
| "refresh": 1, |
| "regex": "", |
| "skipUrlSync": false, |
| "sort": 0, |
| "type": "query" |
| } |
| ] |
| }, |
| "time": { |
| "from": "now-15m", |
| "to": "now" |
| }, |
| "timepicker": {}, |
| "timezone": "", |
| "title": "Chronos Device Connection Events", |
| "uid": "chronos-device-connection", |
| "version": 14 |
| } |