Repository navigation
fix(chart): authz deny-rate alert needs real traffic - #8
Conversation
Two stale IDE tabs of deleted sessions on test3 polled every 10 s, were denied as unknown-instance and made 100% of the decisions, so EduIDEAuthzDenyRateHigh fired with no user affected. The same happens in production when a student leaves a tab open after the idle timeout at night. The alert now also needs more than 0.5 checks per second. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
EduIDEAuthzDenyRateHigh fired on test3 ("Authz denies 100% of its decisions"). Cause: two browser tabs with IDEs of already deleted test sessions polled socket.io every 10 s and were denied as
unknown-instance, about 200 times in 30 min, while nobody else used test3. No user was affected and authz worked correctly.The same happens in production when a student leaves a tab open after the idle timeout at night. The alert now also requires more than 0.5 checks per second (
and sum(rate(...)) > 0.5). The expression was checked in the test3 Prometheus: with the stale-tab volume (0.27/s) it returns nothing.🤖 Generated with Claude Code
Summary by CodeRabbit