"type": "prometheus",
"uid": "${datasource}"
},
- "description": "Amount of physical storage capacity saved through hardware compression.",
+ "description": "Amount of physical storage capacity saved through hardware compression. Displays N/A when physical used is below 100 GiB, as small amounts of internal metadata can produce misleading values.",
"fieldConfig": {
"defaults": {
"color": {
"uid": "${datasource}"
},
"editorMode": "code",
- "expr": "sum(ceph_extblkdev_dev_log_util{cluster=~\"$cluster\", instance=~\"$instance\", ceph_daemon=~\"$osd\"}) - sum(ceph_extblkdev_dev_phy_util{cluster=~\"$cluster\", instance=~\"$instance\", ceph_daemon=~\"$osd\"})",
+ "expr": "(sum(ceph_extblkdev_dev_log_util{cluster=~\"$cluster\", instance=~\"$instance\", ceph_daemon=~\"$osd\"}) - sum(ceph_extblkdev_dev_phy_util{cluster=~\"$cluster\", instance=~\"$instance\", ceph_daemon=~\"$osd\"})) and (sum(ceph_extblkdev_dev_phy_util{cluster=~\"$cluster\", instance=~\"$instance\", ceph_daemon=~\"$osd\"}) > 107374182400)",
"instant": false,
"legendFormat": "Storage Saved",
"range": true,
"type": "prometheus",
"uid": "${datasource}"
},
- "description": "Ratio of logical data to physical storage after compression. Higher values indicate better compression efficiency.",
+ "description": "Ratio of logical data to physical storage after compression. Higher values indicate better compression efficiency. Displays N/A when physical used is below 100 GiB, as small amounts of internal metadata can produce misleading values.",
"fieldConfig": {
"defaults": {
"color": {
"uid": "${datasource}"
},
"editorMode": "code",
- "expr": "sum(ceph_extblkdev_dev_log_util{cluster=~\"$cluster\", instance=~\"$instance\", ceph_daemon=~\"$osd\"}) / clamp_min(sum(ceph_extblkdev_dev_phy_util{cluster=~\"$cluster\", instance=~\"$instance\", ceph_daemon=~\"$osd\"}), 1)",
+ "expr": "(sum(ceph_extblkdev_dev_log_util{cluster=~\"$cluster\", instance=~\"$instance\", ceph_daemon=~\"$osd\"}) / clamp_min(sum(ceph_extblkdev_dev_phy_util{cluster=~\"$cluster\", instance=~\"$instance\", ceph_daemon=~\"$osd\"}), 1)) and (sum(ceph_extblkdev_dev_phy_util{cluster=~\"$cluster\", instance=~\"$instance\", ceph_daemon=~\"$osd\"}) > 107374182400)",
"instant": false,
"legendFormat": "Compression Ratio",
"range": true,
"type": "prometheus",
"uid": "${datasource}"
},
- "description": "Percentage of storage capacity saved through compression. Shows cost savings and infrastructure efficiency.",
+ "description": "Percentage of storage capacity saved through compression. Shows cost savings and infrastructure efficiency. Displays N/A when physical used is below 100 GiB, as small amounts of internal metadata can produce misleading values.",
"fieldConfig": {
"defaults": {
"color": {
"uid": "${datasource}"
},
"editorMode": "code",
- "expr": "100 * (1 - sum(ceph_extblkdev_dev_phy_util{cluster=~\"$cluster\", instance=~\"$instance\", ceph_daemon=~\"$osd\"}) / clamp_min(sum(ceph_extblkdev_dev_log_util{cluster=~\"$cluster\", instance=~\"$instance\", ceph_daemon=~\"$osd\"}), 1))",
+ "expr": "(100 * (1 - sum(ceph_extblkdev_dev_phy_util{cluster=~\"$cluster\", instance=~\"$instance\", ceph_daemon=~\"$osd\"}) / clamp_min(sum(ceph_extblkdev_dev_log_util{cluster=~\"$cluster\", instance=~\"$instance\", ceph_daemon=~\"$osd\"}), 1))) and (sum(ceph_extblkdev_dev_phy_util{cluster=~\"$cluster\", instance=~\"$instance\", ceph_daemon=~\"$osd\"}) > 107374182400)",
"instant": false,
"legendFormat": "Efficiency",
"range": true,
"type": "prometheus",
"uid": "${datasource}"
},
- "description": "Historical compression effectiveness over time. Stable trend indicates consistent workload. Declining ratios suggest more incompressible data.",
+ "description": "Historical compression effectiveness over time. Stable trend indicates consistent workload. Declining ratios suggest more incompressible data. No data shown when physical used is below 100 GiB.",
"fieldConfig": {
"defaults": {
"color": {
"uid": "${datasource}"
},
"editorMode": "code",
- "expr": "round(sum(ceph_extblkdev_dev_log_util{cluster=~\"$cluster\", instance=~\"$instance\", ceph_daemon=~\"$osd\"}) / sum(ceph_extblkdev_dev_phy_util{cluster=~\"$cluster\", instance=~\"$instance\", ceph_daemon=~\"$osd\"}), 0.01)",
+ "expr": "(round(sum(ceph_extblkdev_dev_log_util{cluster=~\"$cluster\", instance=~\"$instance\", ceph_daemon=~\"$osd\"}) / sum(ceph_extblkdev_dev_phy_util{cluster=~\"$cluster\", instance=~\"$instance\", ceph_daemon=~\"$osd\"}), 0.01)) and (sum(ceph_extblkdev_dev_phy_util{cluster=~\"$cluster\", instance=~\"$instance\", ceph_daemon=~\"$osd\"}) > 107374182400)",
"instant": false,
"legendFormat": "Compression Ratio",
"range": true,