Fix glusterfs_space_used panel
Change-Id: I0473edc497738f07b5e64091abbdadc07d5ac8d4
Closes-Bug: PROD-21692
diff --git a/glusterfs/files/grafana_dashboards/glusterfs_prometheus.json b/glusterfs/files/grafana_dashboards/glusterfs_prometheus.json
index e2564b0..918ecb6 100755
--- a/glusterfs/files/grafana_dashboards/glusterfs_prometheus.json
+++ b/glusterfs/files/grafana_dashboards/glusterfs_prometheus.json
@@ -601,7 +601,7 @@
"steppedLine": false,
"targets": [
{
- "expr": "glusterfs_space_used{peer=\"^$peer\",volume=~\"^$volume$\"}",
+ "expr": "glusterfs_space_used{peer=~\"^$peer\",volume=~\"^$volume$\"}",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "used ({{ volume }})",
@@ -813,7 +813,7 @@
"steppedLine": false,
"targets": [
{
- "expr": "glusterfs_space_used{peer=\"^$peer\",volume=~\"^$volume$\"}",
+ "expr": "glusterfs_space_used{peer=~\"^$peer\",volume=~\"^$volume$\"}",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "used ({{ volume }})",
@@ -1027,7 +1027,7 @@
"steppedLine": false,
"targets": [
{
- "expr": "glusterfs_space_used{peer=\"^$peer\",volume=~\"^$volume$\"}",
+ "expr": "glusterfs_space_used{peer=~\"^$peer\",volume=~\"^$volume$\"}",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "used ({{ volume }})",