{ "__inputs": [ { "name": "DS_LOCAL_BYTEBLOWER GUI", "label": "Local ByteBlower GUI", "description": "", "type": "datasource", "pluginId": "prometheus", "pluginName": "Prometheus" } ], "__elements": [], "__requires": [ { "type": "panel", "id": "gauge", "name": "Gauge", "version": "" }, { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "8.5.2" }, { "type": "datasource", "id": "prometheus", "name": "Prometheus", "version": "1.0.0" }, { "type": "panel", "id": "table", "name": "Table", "version": "" }, { "type": "panel", "id": "timeseries", "name": "Time series", "version": "" } ], "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "grafana", "uid": "-- 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, "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": null, "iteration": 1658163276484, "links": [], "liveNow": false, "panels": [ { "datasource": { "type": "prometheus", "uid": "${DS_LOCAL_BYTEBLOWER GUI}" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "align": "auto", "displayMode": "auto", "inspect": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 0 }, "id": 2, "options": { "footer": { "enablePagination": true, "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true, "sortBy": [ { "desc": true, "displayName": "Value" } ] }, "pluginVersion": "8.5.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_LOCAL_BYTEBLOWER GUI}" }, "editorMode": "code", "exemplar": false, "expr": "sum_over_time((present_over_time((sum by (port) (rate(byteblower_gui_traffic_bytes_total{direction=\"rx\"}[1m:10s]) * 8) < 1E3)[10s:]))[$__range:])", "format": "table", "instant": true, "legendFormat": "__auto", "range": false, "refId": "A" } ], "title": "No Traffic Received: Downtime", "transformations": [ { "id": "filterFieldsByName", "options": { "include": { "names": [ "port", "Value" ] } } } ], "type": "table" }, { "datasource": { "type": "prometheus", "uid": "${DS_LOCAL_BYTEBLOWER GUI}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 0 }, "id": 6, "options": { "orientation": "auto", "reduceOptions": { "calcs": [ "max" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true }, "pluginVersion": "8.5.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_LOCAL_BYTEBLOWER GUI}" }, "editorMode": "code", "exemplar": false, "expr": "count(sum_over_time((present_over_time((sum by (port) (rate(byteblower_gui_traffic_bytes_total{direction=\"rx\"}[1m:10s]) * 8) < 1E3)[10s:]))[$__range:]))", "format": "table", "instant": true, "range": false, "refId": "A" } ], "title": "Panel Title", "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "${DS_LOCAL_BYTEBLOWER GUI}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "bps" }, "overrides": [] }, "gridPos": { "h": 8, "w": 24, "x": 0, "y": 8 }, "id": 4, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_LOCAL_BYTEBLOWER GUI}" }, "editorMode": "code", "expr": "rate(byteblower_gui_traffic_bytes_total{direction=\"rx\"}[1m])", "legendFormat": "{{flow}} :: {{port}}", "range": true, "refId": "A" } ], "title": "Rx throughput", "type": "timeseries" } ], "refresh": "30s", "schemaVersion": 36, "style": "dark", "tags": [], "templating": { "list": [ { "datasource": { "type": "prometheus", "uid": "y-yHJdl7z" }, "filters": [], "hide": 0, "name": "Filters", "skipUrlSync": false, "type": "adhoc" } ] }, "time": { "from": "now-1h", "to": "now" }, "timepicker": {}, "timezone": "", "title": "Connection loss", "uid": "olWfuKg4k", "version": 6, "weekStart": "" }