Routes & Policy
Viewing your discovered routes and managing rate limit policies in the dashboard.
Routes page
The Routes page shows every route discovered across your fleet, grouped by service. For each route you can see:
- Method and path (e.g.
GET /api/users/:id) - Request volume (last 24h)
- Active policy
- Which instances have reported this route
Setting a policy
- Click any route to open the policy editor
- Set your limit, window, and optional burst
- Choose the block behaviour —
429, delay, or drop - Click Save — the policy is pushed to all instances on their next poll
Changes take effect within one poll interval (default 30 seconds). No redeploy needed.
Route groups
Group routes that should share a limit, such as all /v1/* routes, and set the policy once on the group. Groups are available in both the policy and the Emergency Profile editors.
- Ratelane expands each group into per-route limits on the server, so no SDK change or upgrade is needed.
- An explicit route policy overrides its group. Use this for a route that needs a tighter or looser limit than the rest.
- In the Emergency Profile, groups share a rate limit only.
- Per-route CORS settings are not supported on groups.
Global default
Set a global default policy that applies to any route without an explicit policy. Good as a safety net.