Skip to content

Include group name in Valkey allow/forbid metrics#3978

Open
ponimas wants to merge 1 commit intomasterfrom
adding-group-to-valkey-counters
Open

Include group name in Valkey allow/forbid metrics#3978
ponimas wants to merge 1 commit intomasterfrom
adding-group-to-valkey-counters

Conversation

@ponimas
Copy link
Copy Markdown
Member

@ponimas ponimas commented Apr 22, 2026

Include group name in Valkey allow/forbid metrics to improve visibility

Signed-off-by: Aleksandr Ponimaskin <aleksandr.ponimaskin@zalando.de>
@ponimas ponimas force-pushed the adding-group-to-valkey-counters branch from be6ab8e to 3bd92c6 Compare April 22, 2026 15:29
@ponimas ponimas added the minor no risk changes, for example new filters label Apr 22, 2026
Comment thread ratelimit/valkey.go

if allow {
c.metrics.IncCounter(valkeyMetricsPrefix + "allows")
c.metrics.IncCounter(fmt.Sprintf("%s.%s.allows", valkeyMetricsPrefix, c.group))
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

update the docs please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor no risk changes, for example new filters

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants