Files
homelab/yc-lab/manifests/grafana/dashboards/cilium-network-monitoring.yaml
T
2026-10-23 10:28:31 +03:00

1628 lines
60 KiB
YAML

apiVersion: v1
data:
cilium-network-monitoring.json: |
{
"apiVersion": "dashboard.grafana.app/v2",
"kind": "Dashboard",
"metadata": {
"name": "cilium-network-monitoring",
"namespace": "default",
"uid": "82922795-ba6f-4336-9b90-efc140d42ef9",
"resourceVersion": "1788358240737998",
"generation": 1,
"creationTimestamp": "2026-09-02T14:10:40Z",
"labels": {
"grafana.app/deprecatedInternalID": "978606250184704"
},
"annotations": {
"grafana.app/createdBy": "user:cfx1picle4dmod",
"grafana.app/saved-from-ui": "Grafana v13.2.0 (f681b1359f)"
}
},
"spec": {
"annotations": [
{
"kind": "AnnotationQuery",
"spec": {
"query": {
"kind": "DataQuery",
"group": "grafana",
"version": "v0",
"datasource": {
"name": "-- Grafana --"
},
"spec": {}
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"builtIn": true,
"legacyOptions": {
"type": "dashboard"
}
}
}
],
"cursorSync": "Off",
"description": "Comprehensive Cilium network monitoring dashboard for Kubernetes clusters. Features instance filtering by Cilium instances (IP:port), endpoint state monitoring, BPF map usage, API performance metrics, and node connectivity status.",
"editable": true,
"elements": {
"panel-1": {
"kind": "Panel",
"spec": {
"id": 1,
"title": "Cilium Agent Bootstrap Time",
"description": "Shows how long it takes for Cilium agents to start up and become ready. **Overall Bootstrap** is total startup time, **Daemon Init** is core daemon initialization, and **K8s Init** is Kubernetes integration setup. Green = fast (<5s), Yellow = slow (5-10s), Red = very slow (>10s). High values may indicate resource constraints or network issues.",
"links": [],
"data": {
"kind": "QueryGroup",
"spec": {
"queries": [
{
"kind": "PanelQuery",
"spec": {
"query": {
"kind": "DataQuery",
"group": "prometheus",
"version": "v0",
"datasource": {
"name": "victoriametrics"
},
"spec": {
"expr": "cilium_agent_bootstrap_seconds{scope=\"overall\", instance=~\".*\"}",
"legendFormat": "Overall Bootstrap - {{instance}}"
}
},
"refId": "A",
"hidden": false
}
},
{
"kind": "PanelQuery",
"spec": {
"query": {
"kind": "DataQuery",
"group": "prometheus",
"version": "v0",
"datasource": {
"name": "victoriametrics"
},
"spec": {
"expr": "cilium_agent_bootstrap_seconds{scope=\"daemonInit\", instance=~\".*\"}",
"legendFormat": "Daemon Init - {{instance}}"
}
},
"refId": "B",
"hidden": false
}
},
{
"kind": "PanelQuery",
"spec": {
"query": {
"kind": "DataQuery",
"group": "prometheus",
"version": "v0",
"datasource": {
"name": "victoriametrics"
},
"spec": {
"expr": "cilium_agent_bootstrap_seconds{scope=\"k8sInit\", instance=~\".*\"}",
"legendFormat": "K8s Init - {{instance}}"
}
},
"refId": "C",
"hidden": false
}
}
],
"transformations": [],
"queryOptions": {}
}
},
"vizConfig": {
"kind": "VizConfig",
"group": "stat",
"version": "12.1.1",
"spec": {
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"fieldConfig": {
"defaults": {
"unit": "short",
"thresholds": {
"mode": "absolute",
"steps": [
{
"value": 0,
"color": "green"
},
{
"value": 5,
"color": "orange"
},
{
"value": 10,
"color": "dark-red"
}
]
},
"color": {
"mode": "thresholds"
}
},
"overrides": []
}
}
}
}
},
"panel-10": {
"kind": "Panel",
"spec": {
"id": 10,
"title": "Node Health Connectivity - NODE_IP_3",
"description": "Shows the connectivity status between Cilium nodes. **Reachable** = nodes can communicate with each other, **Unreachable** = network connectivity issues, **Unknown** = status cannot be determined. All nodes should show as 'Reachable' for proper cluster operation. Unreachable nodes may indicate network failures, firewall issues, or node problems. This is critical for cluster-wide network policy enforcement and service mesh functionality.",
"links": [],
"data": {
"kind": "QueryGroup",
"spec": {
"queries": [
{
"kind": "PanelQuery",
"spec": {
"query": {
"kind": "DataQuery",
"group": "prometheus",
"version": "v0",
"datasource": {
"name": "victoriametrics"
},
"spec": {
"expr": "cilium_node_health_connectivity_status{instance=\"NODE_IP_3:9962\"}",
"legendFormat": "{{status}} - {{type}}"
}
},
"refId": "A",
"hidden": false
}
}
],
"transformations": [],
"queryOptions": {}
}
},
"vizConfig": {
"kind": "VizConfig",
"group": "stat",
"version": "12.1.1",
"spec": {
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"fieldConfig": {
"defaults": {
"unit": "short",
"thresholds": {
"mode": "absolute",
"steps": [
{
"value": 0,
"color": "green"
},
{
"value": 80,
"color": "red"
}
]
}
},
"overrides": []
}
}
}
}
},
"panel-11": {
"kind": "Panel",
"spec": {
"id": 11,
"title": "Node Health Connectivity - NODE_IP_4",
"description": "Shows the connectivity status between Cilium nodes. **Reachable** = nodes can communicate with each other, **Unreachable** = network connectivity issues, **Unknown** = status cannot be determined. All nodes should show as 'Reachable' for proper cluster operation. Unreachable nodes may indicate network failures, firewall issues, or node problems. This is critical for cluster-wide network policy enforcement and service mesh functionality.",
"links": [],
"data": {
"kind": "QueryGroup",
"spec": {
"queries": [
{
"kind": "PanelQuery",
"spec": {
"query": {
"kind": "DataQuery",
"group": "prometheus",
"version": "v0",
"datasource": {
"name": "victoriametrics"
},
"spec": {
"expr": "cilium_node_health_connectivity_status{instance=\"NODE_IP_4:9962\"}",
"legendFormat": "{{status}} - {{type}}"
}
},
"refId": "A",
"hidden": false
}
}
],
"transformations": [],
"queryOptions": {}
}
},
"vizConfig": {
"kind": "VizConfig",
"group": "stat",
"version": "12.1.1",
"spec": {
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"fieldConfig": {
"defaults": {
"unit": "short",
"thresholds": {
"mode": "absolute",
"steps": [
{
"value": 0,
"color": "green"
},
{
"value": 80,
"color": "red"
}
]
}
},
"overrides": []
}
}
}
}
},
"panel-12": {
"kind": "Panel",
"spec": {
"id": 12,
"title": "Node Health Connectivity - NODE_IP_2",
"description": "Shows the connectivity status between Cilium nodes. **Reachable** = nodes can communicate with each other, **Unreachable** = network connectivity issues, **Unknown** = status cannot be determined. All nodes should show as 'Reachable' for proper cluster operation. Unreachable nodes may indicate network failures, firewall issues, or node problems. This is critical for cluster-wide network policy enforcement and service mesh functionality.",
"links": [],
"data": {
"kind": "QueryGroup",
"spec": {
"queries": [
{
"kind": "PanelQuery",
"spec": {
"query": {
"kind": "DataQuery",
"group": "prometheus",
"version": "v0",
"datasource": {
"name": "victoriametrics"
},
"spec": {
"expr": "cilium_node_health_connectivity_status{instance=\"NODE_IP_2:9962\"}",
"legendFormat": "{{status}} - {{type}}"
}
},
"refId": "A",
"hidden": false
}
}
],
"transformations": [],
"queryOptions": {}
}
},
"vizConfig": {
"kind": "VizConfig",
"group": "stat",
"version": "12.1.1",
"spec": {
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"fieldConfig": {
"defaults": {
"unit": "short",
"thresholds": {
"mode": "absolute",
"steps": [
{
"value": 0,
"color": "green"
},
{
"value": 80,
"color": "red"
}
]
}
},
"overrides": []
}
}
}
}
},
"panel-13": {
"kind": "Panel",
"spec": {
"id": 13,
"title": "Cilium Errors & Warnings",
"description": "Shows the total count of errors and warnings from Cilium components across all worker nodes. **ERROR** level indicates serious issues that may affect network functionality, **WARN** level indicates potential problems, **INFO** level shows normal operational messages. Zero counts are ideal. Spikes in errors may indicate network policy conflicts, resource exhaustion, or configuration issues. Monitor for sustained error rates or unusual warning patterns.",
"links": [],
"data": {
"kind": "QueryGroup",
"spec": {
"queries": [
{
"kind": "PanelQuery",
"spec": {
"query": {
"kind": "DataQuery",
"group": "prometheus",
"version": "v0",
"datasource": {
"name": "victoriametrics"
},
"spec": {
"expr": "cilium_errors_warnings_total{level=\"INFO\"}",
"legendFormat": "{{level}} {{subsystem}} - ({{instance}})",
"useBackend": false
}
},
"refId": "B",
"hidden": false
}
}
],
"transformations": [],
"queryOptions": {}
}
},
"vizConfig": {
"kind": "VizConfig",
"group": "bargauge",
"version": "12.1.1",
"spec": {
"options": {
"displayMode": "gradient",
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"maxVizHeight": 300,
"minVizHeight": 16,
"minVizWidth": 8,
"namePlacement": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true,
"sizing": "auto",
"valueMode": "color"
},
"fieldConfig": {
"defaults": {
"thresholds": {
"mode": "percentage",
"steps": [
{
"value": 0,
"color": "super-light-blue"
},
{
"value": 70,
"color": "light-blue"
},
{
"value": 85,
"color": "blue"
}
]
},
"color": {
"mode": "thresholds"
}
},
"overrides": []
}
}
}
}
},
"panel-14": {
"kind": "Panel",
"spec": {
"id": 14,
"title": "Cilium Warnings",
"description": "Shows the total count of errors and warnings from Cilium components across all worker nodes. **ERROR** level indicates serious issues that may affect network functionality, **WARN** level indicates potential problems, **INFO** level shows normal operational messages. Zero counts are ideal. Spikes in errors may indicate network policy conflicts, resource exhaustion, or configuration issues. Monitor for sustained error rates or unusual warning patterns.",
"links": [],
"data": {
"kind": "QueryGroup",
"spec": {
"queries": [
{
"kind": "PanelQuery",
"spec": {
"query": {
"kind": "DataQuery",
"group": "prometheus",
"version": "v0",
"datasource": {
"name": "victoriametrics"
},
"spec": {
"expr": "cilium_errors_warnings_total{level=\"WARN\"}",
"legendFormat": "{{level}} {{subsystem}} {{instance}}",
"useBackend": false
}
},
"refId": "A",
"hidden": false
}
}
],
"transformations": [],
"queryOptions": {}
}
},
"vizConfig": {
"kind": "VizConfig",
"group": "stat",
"version": "12.1.1",
"spec": {
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"fieldConfig": {
"defaults": {
"thresholds": {
"mode": "absolute",
"steps": [
{
"value": 0,
"color": "green"
},
{
"value": 1,
"color": "orange"
},
{
"value": 3,
"color": "red"
}
]
},
"color": {
"mode": "thresholds"
}
},
"overrides": []
}
}
}
}
},
"panel-2": {
"kind": "Panel",
"spec": {
"id": 2,
"title": "Cilium Errors",
"description": "Shows the total count of errors and warnings from Cilium components across all worker nodes. **ERROR** level indicates serious issues that may affect network functionality, **WARN** level indicates potential problems, **INFO** level shows normal operational messages. Zero counts are ideal. Spikes in errors may indicate network policy conflicts, resource exhaustion, or configuration issues. Monitor for sustained error rates or unusual warning patterns.",
"links": [],
"data": {
"kind": "QueryGroup",
"spec": {
"queries": [
{
"kind": "PanelQuery",
"spec": {
"query": {
"kind": "DataQuery",
"group": "prometheus",
"version": "v0",
"datasource": {
"name": "victoriametrics"
},
"spec": {
"expr": "cilium_errors_warnings_total{level=\"ERROR\"}",
"legendFormat": "{{level}} {{subsystem}} {{instance}}",
"useBackend": false
}
},
"refId": "A",
"hidden": false
}
}
],
"transformations": [],
"queryOptions": {}
}
},
"vizConfig": {
"kind": "VizConfig",
"group": "stat",
"version": "12.1.1",
"spec": {
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"fieldConfig": {
"defaults": {
"thresholds": {
"mode": "absolute",
"steps": [
{
"value": 0,
"color": "green"
},
{
"value": 1,
"color": "orange"
},
{
"value": 3,
"color": "dark-red"
}
]
},
"color": {
"mode": "thresholds"
}
},
"overrides": []
}
}
}
}
},
"panel-3": {
"kind": "Panel",
"spec": {
"id": 3,
"title": "Cilium Endpoint States",
"description": "Shows the distribution of endpoint states in your cluster. **Ready** (green) = endpoints are fully operational, **Regenerating** (yellow) = endpoints are updating policies, **Waiting-for-identity** (orange) = endpoints waiting for security identity assignment, **Restoring** (red) = endpoints recovering from failures. Most endpoints should be in 'Ready' state. High numbers of non-ready endpoints indicate network policy changes, security issues, or cluster instability.",
"links": [],
"data": {
"kind": "QueryGroup",
"spec": {
"queries": [
{
"kind": "PanelQuery",
"spec": {
"query": {
"kind": "DataQuery",
"group": "prometheus",
"version": "v0",
"datasource": {
"name": "victoriametrics"
},
"spec": {
"expr": "cilium_endpoint_state{instance=~\".*\"}",
"legendFormat": "{{instance}} - {{endpoint_state}}",
"useBackend": false
}
},
"refId": "A",
"hidden": false
}
}
],
"transformations": [],
"queryOptions": {}
}
},
"vizConfig": {
"kind": "VizConfig",
"group": "bargauge",
"version": "12.1.1",
"spec": {
"options": {
"displayMode": "gradient",
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"maxVizHeight": 300,
"minVizHeight": 16,
"minVizWidth": 8,
"namePlacement": "top",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true,
"sizing": "auto",
"valueMode": "color"
},
"fieldConfig": {
"defaults": {
"thresholds": {
"mode": "absolute",
"steps": [
{
"value": 0,
"color": "green"
}
]
},
"color": {
"mode": "continuous-BlPu"
}
},
"overrides": []
}
}
}
}
},
"panel-4": {
"kind": "Panel",
"spec": {
"id": 4,
"title": "Cilium API Success Rate",
"description": "Shows the distribution of API request methods across Cilium instances. **GET** requests are typically health checks and status queries, **POST** requests are policy updates and configuration changes. Higher rates indicate more active cluster management. Monitor for unusual patterns that might indicate issues or heavy administrative activity.",
"links": [],
"data": {
"kind": "QueryGroup",
"spec": {
"queries": [
{
"kind": "PanelQuery",
"spec": {
"query": {
"kind": "DataQuery",
"group": "prometheus",
"version": "v0",
"datasource": {
"name": "victoriametrics"
},
"spec": {
"expr": "cilium_agent_api_process_time_seconds_count{instance=~\".*\"}",
"legendFormat": "{{method}} ({{return_code}}) - {{instance}} - {{path}}",
"useBackend": false
}
},
"refId": "A",
"hidden": false
}
}
],
"transformations": [],
"queryOptions": {}
}
},
"vizConfig": {
"kind": "VizConfig",
"group": "timeseries",
"version": "12.1.1",
"spec": {
"options": {
"legend": {
"calcs": [
"lastNotNull"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"fieldConfig": {
"defaults": {
"thresholds": {
"mode": "absolute",
"steps": [
{
"value": 0,
"color": "green"
},
{
"value": 80,
"color": "red"
}
]
},
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
}
},
"overrides": []
}
}
}
}
},
"panel-5": {
"kind": "Panel",
"spec": {
"id": 5,
"title": "BPF Map Memory Usage",
"description": "Shows total memory usage of all BPF (Berkeley Packet Filter) maps combined for each Cilium instance. BPF maps store network state like connection tracking, IP cache, load balancer backends, and container network mappings. Higher values indicate more network state being tracked. Monitor for total capacity approaching limits which could cause performance issues or packet drops.",
"links": [],
"data": {
"kind": "QueryGroup",
"spec": {
"queries": [
{
"kind": "PanelQuery",
"spec": {
"query": {
"kind": "DataQuery",
"group": "prometheus",
"version": "v0",
"datasource": {
"name": "victoriametrics"
},
"spec": {
"expr": "cilium_bpf_map_capacity{instance=~\".*\"}",
"legendFormat": "{{instance}} - {{map_group}}",
"useBackend": false
}
},
"refId": "A",
"hidden": false
}
}
],
"transformations": [],
"queryOptions": {}
}
},
"vizConfig": {
"kind": "VizConfig",
"group": "heatmap",
"version": "12.1.1",
"spec": {
"options": {
"calculate": false,
"cellGap": 1,
"color": {
"exponent": 0.5,
"fill": "dark-orange",
"max": 8500000,
"mode": "scheme",
"reverse": false,
"scale": "exponential",
"scheme": "RdYlBu",
"steps": 64
},
"exemplars": {
"color": "rgba(255,0,255,0.7)"
},
"filterValues": {
"le": 1e-9
},
"legend": {
"show": true
},
"rowsFrame": {
"layout": "auto"
},
"tooltip": {
"mode": "single",
"showColorScale": false,
"yHistogram": false
},
"yAxis": {
"axisPlacement": "hidden",
"reverse": false
}
},
"fieldConfig": {
"defaults": {
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"scaleDistribution": {
"type": "linear"
}
}
},
"overrides": []
}
}
}
}
},
"panel-6": {
"kind": "Panel",
"spec": {
"id": 6,
"title": "BPF Map Operations Rate",
"description": "Shows the rate of operations (create, update, delete) on BPF maps. High operation rates indicate active network state changes like new connections, policy updates, or endpoint modifications. **Update** operations are most common during normal operation. **Delete** operations may indicate connection cleanup or policy changes. Monitor for unusual spikes that could indicate network issues, policy conflicts, or resource pressure.",
"links": [],
"data": {
"kind": "QueryGroup",
"spec": {
"queries": [
{
"kind": "PanelQuery",
"spec": {
"query": {
"kind": "DataQuery",
"group": "prometheus",
"version": "v0",
"datasource": {
"name": "victoriametrics"
},
"spec": {
"expr": "rate(cilium_bpf_map_ops_total{instance=~\".*\"}[5m])",
"legendFormat": "{{map_name}} - {{operation}} ({{instance}})"
}
},
"refId": "A",
"hidden": false
}
}
],
"transformations": [],
"queryOptions": {}
}
},
"vizConfig": {
"kind": "VizConfig",
"group": "timeseries",
"version": "12.1.1",
"spec": {
"options": {
"legend": {
"calcs": [
"max"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "desc"
}
},
"fieldConfig": {
"defaults": {
"unit": "short",
"thresholds": {
"mode": "absolute",
"steps": [
{
"value": 0,
"color": "green"
},
{
"value": 80,
"color": "red"
}
]
},
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"vis": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
}
},
"overrides": []
}
}
}
}
},
"panel-7": {
"kind": "Panel",
"spec": {
"id": 7,
"title": "Kubernetes Events Received",
"description": "Tracks the rate of Kubernetes events (create, update, delete) that Cilium agents receive from the Kubernetes API server. These events trigger network policy updates, endpoint state changes, and service discovery updates. **Create** events = new pods/services, **Update** events = configuration changes, **Delete** events = resource cleanup. High event rates may indicate cluster churn, deployments, or configuration changes. Monitor for correlation with network issues.",
"links": [],
"data": {
"kind": "QueryGroup",
"spec": {
"queries": [
{
"kind": "PanelQuery",
"spec": {
"query": {
"kind": "DataQuery",
"group": "prometheus",
"version": "v0",
"datasource": {
"name": "victoriametrics"
},
"spec": {
"expr": "cilium_kubernetes_events_received_total{instance=~\".*\"}",
"legendFormat": "({{instance}}) {{scope}} - {{action}}",
"useBackend": false
}
},
"refId": "A",
"hidden": false
}
}
],
"transformations": [],
"queryOptions": {}
}
},
"vizConfig": {
"kind": "VizConfig",
"group": "timeseries",
"version": "12.1.1",
"spec": {
"options": {
"legend": {
"calcs": [
"lastNotNull"
],
"displayMode": "table",
"placement": "right",
"showLegend": true,
"sortBy": "Last *",
"sortDesc": true
},
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "none"
}
},
"fieldConfig": {
"defaults": {
"thresholds": {
"mode": "absolute",
"steps": [
{
"value": 0,
"color": "green"
},
{
"value": 80,
"color": "red"
}
]
},
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
}
},
"overrides": []
}
}
}
}
},
"panel-8": {
"kind": "Panel",
"spec": {
"id": 8,
"title": "Node Health Connectivity - NODE_IP_1",
"description": "Shows the connectivity status between Cilium nodes. **Reachable** = nodes can communicate with each other, **Unreachable** = network connectivity issues, **Unknown** = status cannot be determined. All nodes should show as 'Reachable' for proper cluster operation. Unreachable nodes may indicate network failures, firewall issues, or node problems. This is critical for cluster-wide network policy enforcement and service mesh functionality.",
"links": [],
"data": {
"kind": "QueryGroup",
"spec": {
"queries": [
{
"kind": "PanelQuery",
"spec": {
"query": {
"kind": "DataQuery",
"group": "prometheus",
"version": "v0",
"datasource": {
"name": "victoriametrics"
},
"spec": {
"expr": "cilium_node_health_connectivity_status{instance=\"NODE_IP_1:9962\"}",
"legendFormat": "{{status}} - {{type}}"
}
},
"refId": "A",
"hidden": false
}
}
],
"transformations": [],
"queryOptions": {}
}
},
"vizConfig": {
"kind": "VizConfig",
"group": "stat",
"version": "12.1.1",
"spec": {
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"fieldConfig": {
"defaults": {
"unit": "short",
"thresholds": {
"mode": "absolute",
"steps": [
{
"value": 0,
"color": "green"
},
{
"value": 80,
"color": "red"
}
]
}
},
"overrides": []
}
}
}
}
},
"panel-9": {
"kind": "Panel",
"spec": {
"id": 9,
"title": "Cilium Agent API Process Time Rate",
"description": "Shows the processing time for API requests to Cilium agents. Higher values indicate slower API response times, which may affect cluster management operations, policy updates, or troubleshooting activities. **GET /v1/healthz** = health check latency, **GET /v1/cluster** = cluster status queries. Monitor for sustained high latency which could indicate resource constraints, network issues, or agent performance problems. Critical for operational responsiveness.",
"links": [],
"data": {
"kind": "QueryGroup",
"spec": {
"queries": [
{
"kind": "PanelQuery",
"spec": {
"query": {
"kind": "DataQuery",
"group": "prometheus",
"version": "v0",
"datasource": {
"name": "victoriametrics"
},
"spec": {
"expr": "rate(cilium_agent_api_process_time_seconds_count{instance=~\".*\"}[5m])",
"legendFormat": "{{method}} {{path}} - {{return_code}} ({{instance}})"
}
},
"refId": "A",
"hidden": false
}
}
],
"transformations": [],
"queryOptions": {}
}
},
"vizConfig": {
"kind": "VizConfig",
"group": "timeseries",
"version": "12.1.1",
"spec": {
"options": {
"legend": {
"calcs": [
"lastNotNull"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"fieldConfig": {
"defaults": {
"unit": "short",
"thresholds": {
"mode": "absolute",
"steps": [
{
"value": 0,
"color": "green"
},
{
"value": 80,
"color": "red"
}
]
},
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"vis": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
}
},
"overrides": []
}
}
}
}
}
},
"layout": {
"kind": "GridLayout",
"spec": {
"items": [
{
"kind": "GridLayoutItem",
"spec": {
"x": 0,
"y": 0,
"width": 6,
"height": 24,
"element": {
"kind": "ElementReference",
"name": "panel-1"
}
}
},
{
"kind": "GridLayoutItem",
"spec": {
"x": 6,
"y": 0,
"width": 18,
"height": 3,
"element": {
"kind": "ElementReference",
"name": "panel-2"
}
}
},
{
"kind": "GridLayoutItem",
"spec": {
"x": 6,
"y": 3,
"width": 18,
"height": 3,
"element": {
"kind": "ElementReference",
"name": "panel-14"
}
}
},
{
"kind": "GridLayoutItem",
"spec": {
"x": 6,
"y": 6,
"width": 11,
"height": 18,
"element": {
"kind": "ElementReference",
"name": "panel-4"
}
}
},
{
"kind": "GridLayoutItem",
"spec": {
"x": 17,
"y": 6,
"width": 7,
"height": 18,
"element": {
"kind": "ElementReference",
"name": "panel-13"
}
}
},
{
"kind": "GridLayoutItem",
"spec": {
"x": 0,
"y": 24,
"width": 6,
"height": 32,
"element": {
"kind": "ElementReference",
"name": "panel-3"
}
}
},
{
"kind": "GridLayoutItem",
"spec": {
"x": 6,
"y": 24,
"width": 18,
"height": 32,
"element": {
"kind": "ElementReference",
"name": "panel-5"
}
}
},
{
"kind": "GridLayoutItem",
"spec": {
"x": 0,
"y": 56,
"width": 24,
"height": 11,
"element": {
"kind": "ElementReference",
"name": "panel-9"
}
}
},
{
"kind": "GridLayoutItem",
"spec": {
"x": 0,
"y": 67,
"width": 12,
"height": 16,
"element": {
"kind": "ElementReference",
"name": "panel-7"
}
}
},
{
"kind": "GridLayoutItem",
"spec": {
"x": 12,
"y": 67,
"width": 12,
"height": 16,
"element": {
"kind": "ElementReference",
"name": "panel-6"
}
}
},
{
"kind": "GridLayoutItem",
"spec": {
"x": 0,
"y": 83,
"width": 24,
"height": 6,
"element": {
"kind": "ElementReference",
"name": "panel-8"
}
}
},
{
"kind": "GridLayoutItem",
"spec": {
"x": 0,
"y": 89,
"width": 24,
"height": 6,
"element": {
"kind": "ElementReference",
"name": "panel-12"
}
}
},
{
"kind": "GridLayoutItem",
"spec": {
"x": 0,
"y": 95,
"width": 24,
"height": 6,
"element": {
"kind": "ElementReference",
"name": "panel-10"
}
}
},
{
"kind": "GridLayoutItem",
"spec": {
"x": 0,
"y": 101,
"width": 24,
"height": 6,
"element": {
"kind": "ElementReference",
"name": "panel-11"
}
}
}
]
}
},
"links": [],
"liveNow": false,
"preload": false,
"tags": [],
"timeSettings": {
"from": "now-1h",
"to": "now",
"autoRefresh": "30s",
"autoRefreshIntervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"hideTimepicker": false,
"fiscalYearStartMonth": 0
},
"title": "Cilium / Network Monitoring",
"variables": []
}
}
kind: ConfigMap
metadata:
name: cilium-network-monitoring-grafana-dashboard
namespace: kube-system
labels:
grafana_dashboard: "1"