Rate Limit List
Lists the configured rate limit rules, optionally filtered by name, policy, layer, or segment. Shows each rule's limit, period, and the layers it applies to.
Usage
Full, up-to-date usage information can be found with tilegroxy ratelimit list -h.
Output of
tilegroxy ratelimit list -hLists the configured rate limit rules matching every filter given, in
the order they're configured. With no filters every rule is listed.
The optional search matches any part of a rule's name, ignoring case.
Each flag matches a rule if it matches any of its values. --layer takes
a layer ID or a name from a tile request, and matches rules the layer
enforces including through extend. --segment matches rules segmented by
the value, or by nothing for "all".
This only reads the configuration, so it works with every store and
doesn't connect to one.
Usage:
tilegroxy ratelimit list [search] [flags]
The JSON output also includes each rule’s segments and the full list of its overrides.
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
|
bool |
|
help for list |
|
bool |
|
Output in JSON |
|
strings |
Only rules enforced on these layers |
|
|
strings |
Only rules enforced by these policies, including those they extend |
|
|
strings |
Only rules segmented by these values. One of user, tenant, ip, layer, or all |
Example
Using the policies from the Rate Limiting example:
tilegroxy ratelimit list -c tilegroxy.yml
tilegroxy ratelimit list -c tilegroxy.yml month --segment tenant
The first command produces an output like:
Rule Limit Period Overrides Layers
standard.user.1s 50 1s 0 basemap, satellite
premium.tenant.month 100000 month 0 satellite