diff --git a/CHANGELOG.md b/CHANGELOG.md index bcb8bc1c..94c124d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +- Add "BPF map pressure" graph to "Cilium performance" dashboard. + ### Changed - fluentbit dashboard: cluster selection diff --git a/helm/dashboards/charts/public_dashboards/dashboards/shared/public/cilium-performance.json b/helm/dashboards/charts/public_dashboards/dashboards/shared/public/cilium-performance.json index 3e307a8b..cc1b7bf7 100644 --- a/helm/dashboards/charts/public_dashboards/dashboards/shared/public/cilium-performance.json +++ b/helm/dashboards/charts/public_dashboards/dashboards/shared/public/cilium-performance.json @@ -18,7 +18,6 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 123, "links": [], "liveNow": false, "panels": [ @@ -44,7 +43,7 @@ "content": "Please conslut https://intranet.giantswarm.io/docs/dev-and-releng/cilium/cilium-performance-issues/ intranet page for learn more about this dashboard.", "mode": "markdown" }, - "pluginVersion": "10.3.1", + "pluginVersion": "11.0.0", "title": "Info", "type": "text" }, @@ -116,8 +115,7 @@ "value": 80 } ] - }, - "unitScale": true + } }, "overrides": [] }, @@ -136,6 +134,7 @@ "showLegend": true }, "tooltip": { + "maxHeight": 600, "mode": "single", "sort": "none" } @@ -225,8 +224,7 @@ "value": 80 } ] - }, - "unitScale": true + } }, "overrides": [] }, @@ -245,6 +243,7 @@ "showLegend": true }, "tooltip": { + "maxHeight": 600, "mode": "single", "sort": "none" } @@ -320,8 +319,7 @@ "value": 80 } ] - }, - "unitScale": true + } }, "overrides": [] }, @@ -340,6 +338,7 @@ "showLegend": true }, "tooltip": { + "maxHeight": 600, "mode": "single", "sort": "none" } @@ -416,8 +415,7 @@ "value": 80 } ] - }, - "unitScale": true + } }, "overrides": [] }, @@ -436,6 +434,7 @@ "showLegend": true }, "tooltip": { + "maxHeight": 600, "mode": "single", "sort": "none" } @@ -525,8 +524,7 @@ "value": 80 } ] - }, - "unitScale": true + } }, "overrides": [] }, @@ -545,6 +543,7 @@ "showLegend": true }, "tooltip": { + "maxHeight": 600, "mode": "single", "sort": "none" } @@ -634,8 +633,7 @@ "value": 80 } ] - }, - "unitScale": true + } }, "overrides": [] }, @@ -654,6 +652,7 @@ "showLegend": true }, "tooltip": { + "maxHeight": 600, "mode": "single", "sort": "none" } @@ -743,8 +742,7 @@ "value": 80 } ] - }, - "unitScale": true + } }, "overrides": [] }, @@ -763,6 +761,7 @@ "showLegend": true }, "tooltip": { + "maxHeight": 600, "mode": "single", "sort": "none" } @@ -852,8 +851,7 @@ "value": 80 } ] - }, - "unitScale": true + } }, "overrides": [] }, @@ -872,6 +870,7 @@ "showLegend": true }, "tooltip": { + "maxHeight": 600, "mode": "single", "sort": "none" } @@ -948,8 +947,7 @@ "value": 80 } ] - }, - "unitScale": true + } }, "overrides": [] }, @@ -968,6 +966,7 @@ "showLegend": true }, "tooltip": { + "maxHeight": 600, "mode": "single", "sort": "none" } @@ -988,6 +987,116 @@ ], "title": "Endpoint regeneration rate 99th percentile [5m]", "type": "timeseries" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 66 + }, + "id": 23, + "panels": [], + "title": "BPF", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "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": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 67 + }, + "id": 24, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "maxHeight": 600, + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "editorMode": "code", + "expr": "cilium_bpf_map_pressure{cluster_id=\"$cluster_id\",pod=~\"$pod\"}", + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "BPF map pressure", + "type": "timeseries" } ], "refresh": "", @@ -1016,8 +1125,8 @@ { "current": { "selected": false, - "text": "deu01", - "value": "deu01" + "text": "> select", + "value": "select" }, "datasource": { "type": "prometheus", @@ -1070,13 +1179,14 @@ ] }, "time": { - "from": "now-3h", + "from": "now-12h", "to": "now" }, + "timeRangeUpdatedDuringEditOrView": false, "timepicker": {}, "timezone": "", "title": "Cilium performance", "uid": "d57506f1-ee2d-4f3e-8687-c8e1a610b8c6", - "version": 4, + "version": 1, "weekStart": "" }