MP
Thanks for the time you took to analyze this article. You're totally right, in a real production scenario, not setting properly aligned intervals between Valkey key TTL and the Alertmanager repeat_interval could cause the rate limiter to deactivate while we still need it. Same thing when the API Gateway detects Valkey is down, currently it just returns an http 500 error response, which blocks all requests. Since this article is meant for local development and learning, my goal was simply to show a working example of how these tools can work together. Thanks again for the feedback