From c6d27fb7d55bb6774b116f077bec5076ed1a8ebd Mon Sep 17 00:00:00 2001 From: David Robertson Date: Wed, 22 Sep 2021 14:13:48 +0100 Subject: [PATCH 1/2] Break down cache expiry reasons in grafana A follow-up to #10829 --- contrib/grafana/synapse.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/grafana/synapse.json b/contrib/grafana/synapse.json index ed1e8ba7f8b6..2c839c30d036 100644 --- a/contrib/grafana/synapse.json +++ b/contrib/grafana/synapse.json @@ -6785,7 +6785,7 @@ "expr": "rate(synapse_util_caches_cache:evicted_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{name}} {{job}}-{{index}}", + "legendFormat": "{{name}} ({{reason}}) {{job}}-{{index}}", "refId": "A" } ], @@ -10888,5 +10888,5 @@ "timezone": "", "title": "Synapse", "uid": "000000012", - "version": 99 + "version": 100 } \ No newline at end of file From 74647d9b22d472262efd790260d904e05529ecfc Mon Sep 17 00:00:00 2001 From: David Robertson Date: Wed, 22 Sep 2021 14:24:31 +0100 Subject: [PATCH 2/2] Changelog --- changelog.d/10880.misc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/10880.misc diff --git a/changelog.d/10880.misc b/changelog.d/10880.misc new file mode 100644 index 000000000000..5f58d6198c68 --- /dev/null +++ b/changelog.d/10880.misc @@ -0,0 +1 @@ +Break down Grafana's cache expiry time series based on reason for eviction---see #10829. \ No newline at end of file