Skip to content

service: log Redis errors and report in-flight calls - #1273

Merged
psbrar99 merged 1 commit into
envoyproxy:mainfrom
nacx:pr/d-service-redis-visibility
Oct 21, 2026
Merged

psbrar99 merged 1 commit into
envoyproxy:mainfrom
nacx:pr/d-service-redis-visibility

Conversation

@nacx

@nacx nacx commented Oct 13, 2026

Copy link
Copy Markdown
Member

When Redis stops answering, nothing is shown: rate-limit calls are blocked rather than failing, so redis_error stays at 0, and the response time histogram records nothing because no call completes. When Redis errors happen, they are only logged at debug level.

  • Log Redis errors in ShouldRateLimit at warning level, rate-limited to once every 10s with a count of suppressed messages.
  • Add a call.should_rate_limit.inflight gauge: calls received and not yet answered, which keeps growing while calls are stuck.

When Redis stopped answering nothing showed it: rate limit calls
blocked rather than failing, so redis_error stayed at 0 and the
response time histogram recorded nothing because no call completed.
When Redis errors did happen, they were only logged at debug level.

- Log Redis errors in ShouldRateLimit at warning level, rate-limited
  to once every 10s with a count of suppressed messages.
- Add a call.should_rate_limit.inflight gauge: calls received and not
  yet answered, which keeps growing while calls are stuck.

Signed-off-by: Ignasi Barrera <ignasi@tetrate.io>

@psbrar99 psbrar99 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank You.

@psbrar99
psbrar99 merged commit f7ffe61 into envoyproxy:main Oct 21, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants