Graph the artwork thrown out, not the artwork kept (#198)
The sweep trims the cache to its limit, so the kept bytes it reports are the limit every time once the cache has filled: the panel was two lines flat at 500 MiB. A counter of images thrown out says whether the limit is too small. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -187,8 +187,10 @@ ts("Backlogs", [prom('max(ipx_deadair_backlog{job="ipx"})', legend="DeadAir to l
|
||||
y += 8
|
||||
ts("DeadAir on a file", [prom('max(ipx_deadair_busy_seconds{job="ipx"})', legend="for")], 0, w=12, unit="s",
|
||||
desc="How long DeadAir has been on the file it is analysing; a few seconds each.")
|
||||
ts("Artwork kept", [prom('max(ipx_art_cache_bytes{job="ipx"})', legend="kept"),
|
||||
prom('max(ipx_art_cache_limit_bytes{job="ipx"})', ref="B", legend="the most kept")], 12, w=12, unit="bytes")
|
||||
ts("Artwork thrown out", [prom('sum(increase(ipx_art_trimmed_total{job="ipx"}[$__rate_interval]))', legend="images")],
|
||||
12, w=12, bars=True,
|
||||
desc="What is kept sits at its limit (500 MiB unless changed), since each sweep trims the least recently used to fit. "
|
||||
"Many thrown out at every sweep means the limit is too small and artwork is fetched again.")
|
||||
y += 8
|
||||
|
||||
# ---- Traces
|
||||
|
||||
Reference in New Issue
Block a user