Skip to content

Commit

Permalink
fix(docs): correct rate limit metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
JadhavPoonam committed Feb 23, 2023
1 parent 7c9801e commit e2f570f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/content/docs/agent/limits/init-rate-limits.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit e2f570f

Please sign in to comment.