Page MenuHomePhabricator

api rate limiting: Create a helper service for exposing per-user (per-bucket) metrics
Closed, ResolvedPublic

Description

Envoy's ratelimit service can only provide requets-based metrics. In order to gain insights on e.g. what percentage of *users* exceeds a given rate limit, we need a helper that can analyze the state of the counter buckets in redis.

Details

Event Timeline

daniel renamed this task from api rate limiting: Create a helper service for exposing bucket statistics to api rate limiting: Create a helper service for exposing per-user (per-bucket) metrics.Oct 24 2025, 7:56 AM
daniel updated the task description. (Show Details)
daniel changed the task status from Open to In Progress.Oct 30 2025, 5:03 PM

A first version of redioscope is ready for testing/review, see https://gitlab.wikimedia.org/daniel/redioscope

Change #1207256 had a related patch set uploaded (by Daniel Kinzler; author: Daniel Kinzler):

[operations/deployment-charts@master] charts: add redioscope chart

https://gerrit.wikimedia.org/r/1207256

Change #1207256 merged by jenkins-bot:

[operations/deployment-charts@master] charts: add redioscope chart and service

https://gerrit.wikimedia.org/r/1207256