Push back excessive requests for stats (#83832)

Resolves #51992
This commit is contained in:
Mary Gouseti 2022-02-28 08:46:18 +01:00 committed by GitHub
parent a6340a557a
commit ed0bb2a8af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 677 additions and 57 deletions

View file

@ -101,6 +101,24 @@ number of shards for each node, use the
setting.
--
[[stats-requests-limit]]
===== Stats request limit
A stats request might require information from all nodes to be aggregated before it returns to the user.
These requests can be heavy and they put extra pressure on the coordinating node (the node collecting the
responses from all the nodes), for this reason there is a limit on the concurrent requests that a node can coordinate.
--
[[node-stats-max-concurrent-requests]]
`node.stats.max_concurrent_requests`::
+
--
(<<dynamic-cluster-setting,Dynamic>>)
Limits the stats requests a coordinating node can concurrently handle. Defaults to `100`.
[[user-defined-data]]
===== User-defined cluster metadata