diff --git a/src/tests/scenario3/optical/dashboard.json b/src/tests/scenario3/optical/dashboard.json new file mode 100644 index 0000000000000000000000000000000000000000..92df9a71e79760cd5409c35b1063c46c5ef3ec2e --- /dev/null +++ b/src/tests/scenario3/optical/dashboard.json @@ -0,0 +1,1253 @@ +{ + "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": 8, + "links": [], + "liveNow": false, + "panels": [ + { + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 12, + "title": "General status", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 1 + }, + "id": 20, + "options": { + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": true + }, + "pluginVersion": "8.5.22", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "exemplar": false, + "expr": "(rate(tfs_opticalattackmanager_loop_seconds_sum[2m]) / rate(tfs_opticalattackmanager_loop_seconds_count[2m])) / tfs_opticalattackmanager_desired_monitoring_interval", + "instant": true, + "range": false, + "refId": "A" + } + ], + "title": "Loop time", + "type": "gauge" + }, + { + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 9 + }, + "id": 10, + "title": "Pipeline", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "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 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 10 + }, + "id": 16, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.95, sum(rate(tfs_opticalattackmanager_loop_seconds_bucket[$__rate_interval])) by (le))", + "legendFormat": "Measured", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "expr": "tfs_opticalattackmanager_desired_monitoring_interval", + "hide": false, + "legendFormat": "Desired", + "range": true, + "refId": "B" + } + ], + "title": "Loop time", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "description": "", + "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 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 10 + }, + "id": 14, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "expr": "tfs_opticalattackmanager_active_services", + "legendFormat": "Active services", + "range": true, + "refId": "A" + } + ], + "title": "Number of active optical services", + "type": "timeseries" + }, + { + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 18 + }, + "id": 8, + "title": "Services", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "description": "", + "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 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 19 + }, + "id": 22, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "right" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.95, sum(rate(tfs_opticalattackdetector_rpc_detectattack_histogram_duration_bucket[$__rate_interval])) by (le))", + "interval": "", + "legendFormat": "Detector", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.95, sum(rate(tfs_opticalattackdetector_inference_response_time_bucket[$__rate_interval])) by (le))", + "hide": false, + "legendFormat": "UL Inference", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.95, sum(rate(tfs_opticalattackdetector_cache_response_time_bucket[$__rate_interval])) by (le))", + "hide": false, + "interval": "", + "legendFormat": "Cache", + "range": true, + "refId": "C" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.95, sum(rate(tfs_opticalattackdetector_mitigation_response_time_bucket[$__rate_interval])) by (le))", + "hide": false, + "interval": "", + "legendFormat": "Mitigator", + "range": true, + "refId": "D" + } + ], + "title": "Response times", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "description": "", + "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 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 19 + }, + "id": 24, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "right" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "expr": "tfs_opticalattackmanager_number_workers", + "hide": false, + "legendFormat": "Manager", + "range": true, + "refId": "D" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "expr": "kube_replicaset_status_replicas{namespace=\"tfs\", replicaset=~\"opticalattackdetectorservice.+\"}", + "interval": "", + "legendFormat": "Detector", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "expr": "kube_replicaset_status_replicas{namespace=\"tfs\", replicaset=~\"dbscanservingservice.+\"}", + "hide": false, + "legendFormat": "UL Inference", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "expr": "kube_replicaset_status_replicas{namespace=\"tfs\", replicaset=~\"opticalattackmitigatorservice.+\"}", + "hide": false, + "interval": "", + "legendFormat": "Mitigator", + "range": true, + "refId": "C" + } + ], + "title": "Number of workers / replicas", + "type": "timeseries" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 27 + }, + "id": 6, + "panels": [ + { + "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" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 1 + }, + "id": 4, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "title": "Panel Title", + "type": "timeseries" + } + ], + "title": "Resource usage", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "description": "", + "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 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 28 + }, + "id": 26, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "right" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{namespace=\"tfs\",pod=~\"opticalattackmanagerservice.+\"})", + "legendFormat": "Manager", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{namespace=\"tfs\",pod=~\"opticalattackdetectorservice.+\"})", + "hide": false, + "interval": "", + "legendFormat": "Detector", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{namespace=\"tfs\",pod=~\"dbscanservingservice.+\"})", + "hide": false, + "legendFormat": "UL Inference", + "range": true, + "refId": "C" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{namespace=\"tfs\",pod=~\"cachingservice.+\"})", + "hide": false, + "legendFormat": "Caching", + "range": true, + "refId": "D" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{namespace=\"tfs\",pod=~\"opticalattackmitigatorservice.+\"})", + "hide": false, + "legendFormat": "Mitigator", + "range": true, + "refId": "E" + } + ], + "title": "CPU Usage", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "description": "", + "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": "bytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 28 + }, + "id": 27, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "right" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "expr": "sum(container_memory_working_set_bytes{namespace=\"tfs\", pod=~\"opticalattackmanagerservice.+\"})", + "interval": "", + "legendFormat": "Manager", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "expr": "sum(container_memory_working_set_bytes{namespace=\"tfs\",pod=~\"opticalattackdetectorservice.+\"})", + "hide": false, + "interval": "", + "legendFormat": "Detector", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "expr": "sum(container_memory_working_set_bytes{namespace=\"tfs\",pod=~\"dbscanservingservice.+\"})", + "hide": false, + "legendFormat": "UL Inference", + "range": true, + "refId": "C" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "expr": "sum(container_memory_working_set_bytes{namespace=\"tfs\",pod=~\"cachingservice.+\"})", + "hide": false, + "legendFormat": "Caching", + "range": true, + "refId": "D" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{namespace=\"tfs\",pod=~\"opticalattackmitigatorservice.+\"})", + "hide": false, + "legendFormat": "Mitigator", + "range": true, + "refId": "E" + } + ], + "title": "RAM Usage", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "description": "", + "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": 12, + "x": 0, + "y": 36 + }, + "id": 28, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "right" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "expr": "sum(irate(container_network_receive_bytes_total{namespace=\"tfs\", pod=~\"opticalattackmanagerservice.+\"}[$__rate_interval]))", + "legendFormat": "Manager", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "expr": "sum(irate(container_network_receive_bytes_total{namespace=\"tfs\",pod=~\"opticalattackdetectorservice.+\"}[$__rate_interval]))", + "hide": false, + "interval": "", + "legendFormat": "Detector", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "expr": "sum(irate(container_network_receive_bytes_total{namespace=\"tfs\",pod=~\"dbscanservingservice.+\"}[$__rate_interval]))", + "hide": false, + "legendFormat": "UL Inference", + "range": true, + "refId": "C" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "expr": "sum(irate(container_network_receive_bytes_total{namespace=\"tfs\",pod=~\"cachingservice.+\"}[$__rate_interval]))", + "hide": false, + "legendFormat": "Caching", + "range": true, + "refId": "D" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "expr": "sum(irate(container_network_receive_bytes_total{namespace=\"tfs\",pod=~\"opticalattackmitigatorservice.+\"}[$__rate_interval]))", + "hide": false, + "legendFormat": "Mitigator", + "range": true, + "refId": "E" + } + ], + "title": "Network (incoming)", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "description": "", + "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": 12, + "x": 12, + "y": 36 + }, + "id": 29, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "right" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "expr": "sum(irate(container_network_transmit_bytes_total{namespace=\"tfs\", pod=~\"opticalattackmanagerservice.+\"}[$__rate_interval]))", + "legendFormat": "Manager", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "expr": "sum(irate(container_network_transmit_bytes_total{namespace=\"tfs\",pod=~\"opticalattackdetectorservice.+\"}[$__rate_interval]))", + "hide": false, + "interval": "", + "legendFormat": "Detector", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "expr": "sum(irate(container_network_transmit_bytes_total{namespace=\"tfs\",pod=~\"dbscanservingservice.+\"}[$__rate_interval]))", + "hide": false, + "legendFormat": "UL Inference", + "range": true, + "refId": "C" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "expr": "sum(irate(container_network_transmit_bytes_total{namespace=\"tfs\",pod=~\"cachingservice.+\"}[$__rate_interval]))", + "hide": false, + "legendFormat": "Caching", + "range": true, + "refId": "D" + }, + { + "datasource": { + "type": "prometheus", + "uid": "IWY3b0yVz" + }, + "editorMode": "code", + "expr": "sum(irate(container_network_transmit_bytes_total{namespace=\"tfs\",pod=~\"opticalattackmitigatorservice.+\"}[$__rate_interval]))", + "hide": false, + "legendFormat": "Mitigator", + "range": true, + "refId": "E" + } + ], + "title": "Network (outgoing)", + "type": "timeseries" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 44 + }, + "id": 2, + "panels": [], + "title": "General status", + "type": "row" + } + ], + "schemaVersion": 36, + "style": "dark", + "tags": [], + "templating": { + "list": [] + }, + "time": { + "from": "now-15m", + "to": "now" + }, + "timepicker": {}, + "timezone": "", + "title": "TFS / Optical cybersecurity", + "uid": "-Q-B-AsVk", + "version": 4, + "weekStart": "" + } \ No newline at end of file