Skip to content

Commit 2e9a362

Browse files
Update Monitoring Dashboard to support new Persistent Disk FS-Cache Volumes
Change-Id: I4350635c74070dd66f92fe6bab6e69a308a72acf
1 parent 1f40bea commit 2e9a362

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

deployment/metrics/dashboard/dashboard.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"labelKey": "backend_name"
1818
}
1919
],
20-
"displayName": "Knfsd Monitoring Dashboard (v35)",
20+
"displayName": "Knfsd Monitoring Dashboard (v36)",
2121
"mosaicLayout": {
2222
"columns": 12,
2323
"tiles": [
@@ -84,7 +84,7 @@
8484
],
8585
"perSeriesAligner": "ALIGN_MEAN"
8686
},
87-
"filter": "metric.type=\"agent.googleapis.com/disk/percent_used\" resource.type=\"gce_instance\" metadata.user_labels.\"vm-type\"=\"nfs-proxy\" metric.label.\"device\"=\"/dev/md127\" metric.label.\"state\"=\"free\""
87+
"filter": "metric.type=\"agent.googleapis.com/disk/percent_used\" resource.type=\"gce_instance\" metadata.user_labels.\"vm-type\"=\"nfs-proxy\" metric.label.\"device\"=monitoring.regex.full_match(\"/dev/md127|/dev/sdb\") metric.label.\"state\"=\"free\""
8888
}
8989
}
9090
}
@@ -343,7 +343,7 @@
343343
"alignmentPeriod": "60s",
344344
"perSeriesAligner": "ALIGN_RATE"
345345
},
346-
"filter": "metric.type=\"compute.googleapis.com/instance/disk/read_bytes_count\" resource.type=\"gce_instance\" metric.label.\"storage_type\"=\"local-ssd\" metadata.user_labels.\"vm-type\"=\"nfs-proxy\"",
346+
"filter": "metric.type=\"compute.googleapis.com/instance/disk/read_bytes_count\" resource.type=\"gce_instance\" metadata.user_labels.\"vm-type\"=\"nfs-proxy\"",
347347
"secondaryAggregation": {
348348
"alignmentPeriod": "60s",
349349
"crossSeriesReducer": "REDUCE_SUM",
@@ -387,7 +387,7 @@
387387
"alignmentPeriod": "60s",
388388
"perSeriesAligner": "ALIGN_RATE"
389389
},
390-
"filter": "metric.type=\"compute.googleapis.com/instance/disk/write_bytes_count\" resource.type=\"gce_instance\" metric.label.\"storage_type\"=\"local-ssd\" metadata.user_labels.\"vm-type\"=\"nfs-proxy\"",
390+
"filter": "metric.type=\"compute.googleapis.com/instance/disk/write_bytes_count\" resource.type=\"gce_instance\" metadata.user_labels.\"vm-type\"=\"nfs-proxy\"",
391391
"secondaryAggregation": {
392392
"alignmentPeriod": "60s",
393393
"crossSeriesReducer": "REDUCE_SUM",
@@ -1066,4 +1066,4 @@
10661066
}
10671067
]
10681068
}
1069-
}
1069+
}

docs/changes/changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Next
22

3+
* Update Monitoring Dashboard to support new Persistent Disk FS-Cache Volumes
4+
5+
## Update Monitoring Dashboard to support new Persistent Disk FS-Cache Volumes
6+
7+
Updated the monitoring dashboard to corretly show FS-Cache usage, and read write throughput when using Persistent Disk for the FS-Cache volume.
8+
39
# v0.10.0
410

511
* MIG scaler workflow and command line tool

0 commit comments

Comments
 (0)