Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ceph dashboard osd usage #1040

Merged
merged 2 commits into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
148 changes: 146 additions & 2 deletions etc/kayobe/kolla/config/grafana/dashboards/ceph/ceph_osds.json
Original file line number Diff line number Diff line change
Expand Up @@ -884,6 +884,150 @@
"align": false
}
},
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"description": "Number of OSDs",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"fillOpacity": 84,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineWidth": 1
},
"displayName": "${__field.labels.ceph_daemon}",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 16
},
"id": 21,
"options": {
"combine": true,
"legend": {
"calcs": [
"lastNotNull"
],
"displayMode": "list",
"placement": "right",
"showLegend": false
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "ceph_osd_stat_bytes_used / ceph_osd_stat_bytes",
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A"
}
],
"title": "Per OSD Space Used",
"type": "histogram"
},
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"description": "Number of BluestoreDB's",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds",
"seriesBy": "last"
},
"custom": {
"fillOpacity": 84,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineWidth": 1
},
"displayName": "${__field.labels.ceph_daemon}",
"fieldMinMax": false,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 16
},
"id": 24,
"options": {
"combine": true,
"legend": {
"calcs": [
"lastNotNull"
],
"displayMode": "list",
"placement": "right",
"showLegend": false
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "ceph_bluefs_db_used_bytes / ceph_bluefs_db_total_bytes ",
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A"
}
],
"title": "BluestoreDB Space Used",
"type": "histogram"
},
{
"collapsed": false,
"datasource": {
Expand All @@ -894,7 +1038,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 16
"y": 17
},
"id": 20,
"panels": [],
Expand Down Expand Up @@ -931,7 +1075,7 @@
"h": 8,
"w": 24,
"x": 0,
"y": 17
"y": 18
},
"hiddenSeries": false,
"id": 10,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
features:
- |
Per OSD usage metrics are now available in the OSDs dashboard. The
dashboard now includes a new section that displays a histogram of of the
utilization of each OSD in the cluster. This can be useful for identifying
OSDs that are outliers in terms of utilization, and may need to be
rebalanced. Additionally, there is a histogram displaying the usage of the
bluestoreDB for each OSD.
Loading