Page MenuHomePhabricator

rest gateway: add support for shadow policies (selective dry run)
Closed, ResolvedPublic

Description

Currently, sadow mode (aka dry mode) is controleld by a single switch that sets an environemnt variable that controlls the behavior of the ratelimit service. Instead, we want to be able to specify where a given ratelimit policy should be in dry mode or enforced. That would be implemented by setting the sadow_mode flag on all rules generated by the policy.

Event Timeline

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

[operations/deployment-charts@master] rest gateway: implement per-policy shadow mode

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

Change #1225699 merged by jenkins-bot:

[operations/deployment-charts@master] rest gateway: implement per-policy shadow mode

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

daniel claimed this task.

Deployed successfully