Break down cache expiry reasons in grafana (#10880)

A follow-up to #10829
This commit is contained in:
David Robertson 2021-09-23 14:45:32 +01:00 committed by GitHub
parent dcfd864970
commit a10988983a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

1
changelog.d/10880.misc Normal file
View file

@ -0,0 +1 @@
Break down Grafana's cache expiry time series based on reason for eviction---see #10829.

View file

@ -6785,7 +6785,7 @@
"expr": "rate(synapse_util_caches_cache:evicted_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])", "expr": "rate(synapse_util_caches_cache:evicted_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
"format": "time_series", "format": "time_series",
"intervalFactor": 1, "intervalFactor": 1,
"legendFormat": "{{name}} {{job}}-{{index}}", "legendFormat": "{{name}} ({{reason}}) {{job}}-{{index}}",
"refId": "A" "refId": "A"
} }
], ],
@ -10888,5 +10888,5 @@
"timezone": "", "timezone": "",
"title": "Synapse", "title": "Synapse",
"uid": "000000012", "uid": "000000012",
"version": 99 "version": 100
} }