Skip to content

Commit

Permalink
Add "BPF map pressure" graph to "Cilium performance" dashboard (#589)
Browse files Browse the repository at this point in the history
  • Loading branch information
kopiczko authored Jun 27, 2024
1 parent 3e66f00 commit 425fcef
Show file tree
Hide file tree
Showing 2 changed files with 138 additions and 24 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 123,
"links": [],
"liveNow": false,
"panels": [
Expand All @@ -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"
},
Expand Down Expand Up @@ -116,8 +115,7 @@
"value": 80
}
]
},
"unitScale": true
}
},
"overrides": []
},
Expand All @@ -136,6 +134,7 @@
"showLegend": true
},
"tooltip": {
"maxHeight": 600,
"mode": "single",
"sort": "none"
}
Expand Down Expand Up @@ -225,8 +224,7 @@
"value": 80
}
]
},
"unitScale": true
}
},
"overrides": []
},
Expand All @@ -245,6 +243,7 @@
"showLegend": true
},
"tooltip": {
"maxHeight": 600,
"mode": "single",
"sort": "none"
}
Expand Down Expand Up @@ -320,8 +319,7 @@
"value": 80
}
]
},
"unitScale": true
}
},
"overrides": []
},
Expand All @@ -340,6 +338,7 @@
"showLegend": true
},
"tooltip": {
"maxHeight": 600,
"mode": "single",
"sort": "none"
}
Expand Down Expand Up @@ -416,8 +415,7 @@
"value": 80
}
]
},
"unitScale": true
}
},
"overrides": []
},
Expand All @@ -436,6 +434,7 @@
"showLegend": true
},
"tooltip": {
"maxHeight": 600,
"mode": "single",
"sort": "none"
}
Expand Down Expand Up @@ -525,8 +524,7 @@
"value": 80
}
]
},
"unitScale": true
}
},
"overrides": []
},
Expand All @@ -545,6 +543,7 @@
"showLegend": true
},
"tooltip": {
"maxHeight": 600,
"mode": "single",
"sort": "none"
}
Expand Down Expand Up @@ -634,8 +633,7 @@
"value": 80
}
]
},
"unitScale": true
}
},
"overrides": []
},
Expand All @@ -654,6 +652,7 @@
"showLegend": true
},
"tooltip": {
"maxHeight": 600,
"mode": "single",
"sort": "none"
}
Expand Down Expand Up @@ -743,8 +742,7 @@
"value": 80
}
]
},
"unitScale": true
}
},
"overrides": []
},
Expand All @@ -763,6 +761,7 @@
"showLegend": true
},
"tooltip": {
"maxHeight": 600,
"mode": "single",
"sort": "none"
}
Expand Down Expand Up @@ -852,8 +851,7 @@
"value": 80
}
]
},
"unitScale": true
}
},
"overrides": []
},
Expand All @@ -872,6 +870,7 @@
"showLegend": true
},
"tooltip": {
"maxHeight": 600,
"mode": "single",
"sort": "none"
}
Expand Down Expand Up @@ -948,8 +947,7 @@
"value": 80
}
]
},
"unitScale": true
}
},
"overrides": []
},
Expand All @@ -968,6 +966,7 @@
"showLegend": true
},
"tooltip": {
"maxHeight": 600,
"mode": "single",
"sort": "none"
}
Expand All @@ -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": "",
Expand Down Expand Up @@ -1016,8 +1125,8 @@
{
"current": {
"selected": false,
"text": "deu01",
"value": "deu01"
"text": "> select",
"value": "select"
},
"datasource": {
"type": "prometheus",
Expand Down Expand Up @@ -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": ""
}

0 comments on commit 425fcef

Please sign in to comment.