From 78eb255a78ff42feddc454faba347ed540e484a1 Mon Sep 17 00:00:00 2001 From: rays Date: Sun, 11 Oct 2026 20:31:48 +0000 Subject: [PATCH] Artwork panel: call the hit rate the hit rate (#198) Co-Authored-By: Claude Opus 5.5 --- grafana/dashboard.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grafana/dashboard.py b/grafana/dashboard.py index c68d7c9..86910eb 100644 --- a/grafana/dashboard.py +++ b/grafana/dashboard.py @@ -195,10 +195,10 @@ ts("DeadAir on a file", [prom('max(ipx_deadair_busy_seconds{job="ipx"})', legend desc="How long DeadAir has been on the file it is analysing; a few seconds each.") ts("Artwork", [prom('max(ipx_art_cache_bytes{job="ipx"}) / max(ipx_art_cache_limit_bytes{job="ipx"})', legend="full"), prom('sum(increase(ipx_art_requests_total{job="ipx", result="hit"}[$__rate_interval])) / ' - 'sum(increase(ipx_art_requests_total{job="ipx"}[$__rate_interval]))', ref="B", legend="served from disk"), + 'sum(increase(ipx_art_requests_total{job="ipx"}[$__rate_interval]))', ref="B", legend="hit rate"), prom('sum(increase(ipx_art_evicted_total{job="ipx"}[$__rate_interval]))', ref="C", legend="images evicted")], 12, w=12, unit="percentunit", - desc="Full sits near 100% once the cache has filled, since each sweep trims it to fit. Served from disk is the hit rate: " + desc="Full sits near 100% once the cache has filled, since each sweep trims it to fit. Hit rate is the share served from disk: " "the rest was fetched from the publisher. Evicted, on the right, is images each sweep threw out to stay under the " "limit: many at every sweep, with a falling hit rate, means the limit is too small.")["fieldConfig"]["overrides"] = [ {"matcher": {"id": "byName", "options": "images evicted"},