Browse Source

fix(docs): correct rate limit metrics (#16400)

locality-aware-routing
Poonam Jadhav 2 years ago committed by GitHub
parent
commit
6b5e48b2d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      website/content/docs/agent/limits/init-rate-limits.mdx

4
website/content/docs/agent/limits/init-rate-limits.mdx

@ -26,7 +26,7 @@ Because each network has different needs and application, you need to find out w
1. Observe the logs and metrics for your application's typical cycle, such as a 24 hour period. Refer to [`log_file`](/consul/docs/agent/config/config-files#log_file) for information about where to retrieve logs. Call the [`/agent/metrics`](/consul/api-docs/agent#view-metrics) HTTP API endpoint and check the data for the following metrics:
- `rpc.rate_limit.exceeded.read`
- `rpc.rate_limit.exceeded.write`
- `rpc.rate_limit.exceeded` with value `global/read` for label `limit_type`
- `rpc.rate_limit.exceeded` with value `global/write` for label `limit_type`
1. If the limits are not reached, set the `mode` configuration to `enforcing`. Otherwise, continue to adjust and iterate until you find your network's unique limits.
Loading…
Cancel
Save