1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/website/docs/reference
Christopher Kolstad b06613d1b0
feat: Adds rate limiting to metric POST endpoints (#5075)
### What
The heaviest requests we serve are the register and metrics POSTs from
our SDKs/clients.
This PR adds ratelimiting to /api/client/register, /api/client/metrics,
/api/frontend/register and /api/frontend/metrics with a default set to
6000 requests per minute (or 100 rps) for each of the endpoints.

It will be overrideable by the environment variables documented.

### Points of discussion
@kwasniew already suggested using featuretoggles with variants to
control the rate per clientId. I struggled to see if we could
dynamically update the middleware after initialisation, so this attempt
will need a restart of the pod to update the request limit.
2023-10-18 13:00:44 +02:00
..
api/legacy/unleash docs(1-1262): Change addons -> integrations (#4523) 2023-09-14 15:27:51 +02:00
deploy feat: Adds rate limiting to metric POST endpoints (#5075) 2023-10-18 13:00:44 +02:00
integrations feat: add more events in integrations (#4815) 2023-09-29 16:11:59 +01:00
sdks docs: make videos bigger (#4980) 2023-10-10 11:42:25 +02:00
activation-strategies.md docs: suggest to use strategy constraints instead of custom strategies (#4215) 2023-07-11 11:35:58 +02:00
api-tokens-and-client-keys.mdx docs: custom root roles (#4451) 2023-08-10 08:21:58 +01:00
archived-toggles.md remove trailing periods (#4378) 2023-08-01 15:20:10 +02:00
change-requests.md docs: make videos bigger (#4980) 2023-10-10 11:42:25 +02:00
custom-activation-strategies.md docs: suggest to use strategy constraints instead of custom strategies (#4215) 2023-07-11 11:35:58 +02:00
dependent-features.md docs: dependent features (#5058) 2023-10-18 08:57:04 +02:00
environments.md docs(1-1262): Change addons -> integrations (#4523) 2023-09-14 15:27:51 +02:00
event-log.md docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
event-types.mdx docs(1-1262): Change addons -> integrations (#4523) 2023-09-14 15:27:51 +02:00
feature-flag-naming-patterns.mdx 1-1360: explain implicit ^ and $ in docs (#4668) 2023-09-12 14:23:19 +02:00
feature-toggle-types.md docs(1-1262): Change addons -> integrations (#4523) 2023-09-14 15:27:51 +02:00
feature-toggle-variants.md docs: new variants per environment (#2590) 2023-02-24 15:25:03 +01:00
feature-toggles.mdx refactor: move docs into new structure / fix links for SEO (#2416) 2022-11-22 09:05:30 +00:00
front-end-api.md Source proxy and Edge docs from GitHub (#3122) 2023-02-16 13:36:28 +01:00
impression-data.md Source proxy and Edge docs from GitHub (#3122) 2023-02-16 13:36:28 +01:00
login-history.md docs: add feature availability troubleshooting guide (#4989) 2023-10-10 11:17:06 -05:00
maintenance-mode.mdx docs: maintanance mode impact (#3858) 2023-05-25 08:28:05 +02:00
network-view.mdx network-view-docs: rename source file (#3183) 2023-02-24 08:36:12 +00:00
notifications.md feat: change request reject docs and step update (#4493) 2023-08-16 09:46:05 +02:00
playground.mdx docs/video embed, academy video embed fixes (#5005) 2023-10-11 14:20:16 -05:00
project-collaboration-mode.md docs: Project collaboration mode docs (#3360) 2023-03-22 13:13:56 +01:00
projects.md docs: project overview (#4176) 2023-07-07 11:50:54 +02:00
public-signup.mdx docs: custom root roles (#4451) 2023-08-10 08:21:58 +01:00
rbac.md docs(1-1262): Change addons -> integrations (#4523) 2023-09-14 15:27:51 +02:00
segments.mdx docs: make videos bigger (#4980) 2023-10-10 11:42:25 +02:00
service-accounts.md docs: add feature availability troubleshooting guide (#4989) 2023-10-10 11:17:06 -05:00
sso.md docs: azure sso guide (#3431) 2023-05-25 08:37:39 +02:00
stickiness.md Docs: update stickiness docs (#3928) 2023-06-13 11:26:12 +03:00
strategy-constraints.md docs/video embed, academy video embed fixes (#5005) 2023-10-11 14:20:16 -05:00
strategy-variants.md docs: make videos bigger (#4980) 2023-10-10 11:42:25 +02:00
tags.md refactor: move docs into new structure / fix links for SEO (#2416) 2022-11-22 09:05:30 +00:00
technical-debt.md refactor: move docs into new structure / fix links for SEO (#2416) 2022-11-22 09:05:30 +00:00
unleash-context.md Docs: update stickiness docs (#3928) 2023-06-13 11:26:12 +03:00
whats-new-v4.md docs(1-1262): Change addons -> integrations (#4523) 2023-09-14 15:27:51 +02:00