Add album art observability metrics, dashboard and alerts
CI / lint (push) Successful in 18s
CI / validate-monitoring (push) Successful in 13s
CI / federation-interop (push) Successful in 1m36s
CI / test (push) Successful in 3m37s
CI / assets (push) Successful in 8s
CI / python-package (push) Successful in 13s
CI / images (push) Successful in 1m37s
CI / trigger-deploy (push) Successful in 3s
CI / notify (push) Successful in 5s
CI / lint (push) Successful in 18s
CI / validate-monitoring (push) Successful in 13s
CI / federation-interop (push) Successful in 1m36s
CI / test (push) Successful in 3m37s
CI / assets (push) Successful in 8s
CI / python-package (push) Successful in 13s
CI / images (push) Successful in 1m37s
CI / trigger-deploy (push) Successful in 3s
CI / notify (push) Successful in 5s
Endpoint result counters, worker resolution/latency/image-size metrics, per-upstream latency and error counters, cache-status and oldest-pending gauges, an Album Art Grafana dashboard, and backlog/upstream-error alerts. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QHPkt2v797pphGCFKfTFmv
This commit is contained in:
1 parent
6cd17d7586
commit
48fba1e0e2
9 files changed
+925
-3
No files matched your search
@@ -87,6 +87,9 @@ def test_database_stats_collector(app, user, make_user):
|
||||
active = {s.labels["window"]: s.value for s in families["scrobbler_active_users"].samples}
|
||||
assert active == {"1h": 1, "24h": 1, "7d": 1}
|
||||
assert families["scrobbler_now_playing_active"].samples[0].value == 1
|
||||
cache = {s.labels["status"]: s.value for s in families["scrobbler_art_cache"].samples}
|
||||
assert cache == {"pending": 0, "found": 0, "not_found": 0, "error": 0}
|
||||
assert families["scrobbler_art_oldest_pending_seconds"].samples[0].value == 0
|
||||
|
||||
|
||||
def test_database_stats_collector_caches(app, user):
|
||||
|
||||
Reference in new issue
Block a user