poc4 wit rust
This commit is contained in:
@@ -648,7 +648,7 @@
|
||||
{
|
||||
"id": 25,
|
||||
"type": "bargauge",
|
||||
"title": "Traffic mix \u00b7 selected range",
|
||||
"title": "Traffic mix · selected range",
|
||||
"datasource": {
|
||||
"type": "prometheus",
|
||||
"uid": "${datasource}"
|
||||
@@ -873,8 +873,8 @@
|
||||
{
|
||||
"id": 26,
|
||||
"type": "stat",
|
||||
"title": "Active flows",
|
||||
"description": "Currently tracked live L3/L4 flows.",
|
||||
"title": "TZSP RX buffer",
|
||||
"description": "Actual Linux UDP receive buffer allocated to the Rust TZSP receiver.",
|
||||
"datasource": {
|
||||
"type": "prometheus",
|
||||
"uid": "${datasource}"
|
||||
@@ -887,7 +887,7 @@
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"unit": "short",
|
||||
"unit": "bytes",
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
@@ -926,7 +926,7 @@
|
||||
"uid": "${datasource}"
|
||||
},
|
||||
"editorMode": "code",
|
||||
"expr": "max(mikrosuricata_flow_tracker_active_flows{instance=~\"$instance\"})",
|
||||
"expr": "max(mikrosuricata_tzsp_receiver_rcvbuf_bytes{instance=~\"$instance\"})",
|
||||
"legendFormat": "",
|
||||
"range": true,
|
||||
"refId": "A"
|
||||
@@ -1322,7 +1322,7 @@
|
||||
"id": 8,
|
||||
"type": "timeseries",
|
||||
"title": "Sensor loss & decode errors",
|
||||
"description": "Rates that should stay near zero: kernel drops, injection errors, TZSP decode errors and Suricata alert queue overflow.",
|
||||
"description": "Rates that should stay near zero: Rust UDP socket drops, Suricata kernel drops, TAP injection errors, TZSP decode errors and alert queue overflow.",
|
||||
"datasource": {
|
||||
"type": "prometheus",
|
||||
"uid": "${datasource}"
|
||||
@@ -1438,6 +1438,17 @@
|
||||
"legendFormat": "Alert queue overflow",
|
||||
"range": true,
|
||||
"refId": "D"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "prometheus",
|
||||
"uid": "${datasource}"
|
||||
},
|
||||
"editorMode": "code",
|
||||
"expr": "sum(rate(mikrosuricata_tzsp_receiver_kernel_udp_drops_total{instance=~\"$instance\"}[$__rate_interval]))",
|
||||
"legendFormat": "TZSP UDP drops",
|
||||
"range": true,
|
||||
"refId": "E"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -2048,8 +2059,8 @@
|
||||
{
|
||||
"id": 14,
|
||||
"type": "timeseries",
|
||||
"title": "Live sessions",
|
||||
"description": "",
|
||||
"title": "Rust dataplane packet path",
|
||||
"description": "Inspected packet rate versus kernel UDP loss and userspace queue loss in the Rust TZSP data-plane.",
|
||||
"datasource": {
|
||||
"type": "prometheus",
|
||||
"uid": "${datasource}"
|
||||
@@ -2062,7 +2073,7 @@
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"unit": "short",
|
||||
"unit": "pps",
|
||||
"custom": {
|
||||
"drawStyle": "line",
|
||||
"lineInterpolation": "smooth",
|
||||
@@ -2128,8 +2139,8 @@
|
||||
"uid": "${datasource}"
|
||||
},
|
||||
"editorMode": "code",
|
||||
"expr": "max(mikrosuricata_flow_tracker_active_flows{instance=~\"$instance\"})",
|
||||
"legendFormat": "Active flows",
|
||||
"expr": "sum(rate(mikrosuricata_traffic_packets_total{instance=~\"$instance\",direction=\"total\"}[$__rate_interval]))",
|
||||
"legendFormat": "Inspected packets/s",
|
||||
"range": true,
|
||||
"refId": "A"
|
||||
},
|
||||
@@ -2139,8 +2150,8 @@
|
||||
"uid": "${datasource}"
|
||||
},
|
||||
"editorMode": "code",
|
||||
"expr": "max(mikrosuricata_event_bus_subscribers{instance=~\"$instance\"})",
|
||||
"legendFormat": "WebSocket subscribers",
|
||||
"expr": "sum(rate(mikrosuricata_tzsp_receiver_kernel_udp_drops_total{instance=~\"$instance\"}[$__rate_interval]))",
|
||||
"legendFormat": "Kernel UDP drops/s",
|
||||
"range": true,
|
||||
"refId": "B"
|
||||
},
|
||||
@@ -2150,8 +2161,8 @@
|
||||
"uid": "${datasource}"
|
||||
},
|
||||
"editorMode": "code",
|
||||
"expr": "sum(rate(mikrosuricata_flow_tracker_evicted_flows_total{instance=~\"$instance\"}[$__rate_interval]))",
|
||||
"legendFormat": "Evictions/s",
|
||||
"expr": "sum(rate(mikrosuricata_tzsp_receiver_queue_dropped_datagrams_total{instance=~\"$instance\"}[$__rate_interval]))",
|
||||
"legendFormat": "Userspace queue drops/s",
|
||||
"range": true,
|
||||
"refId": "C"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user