twosigma / Cook

Fair job scheduler on Kubernetes and Mesos for batch workloads and Spark
Apache License 2.0
337 stars 63 forks source link

Adding configurable rate limit for the /metrics endpoint #2131

Closed samincheva closed 2 years ago

samincheva commented 2 years ago

Changes proposed in this PR

Why are we making these changes?

The default rate limit for endpoints with no auth is not sufficient, and we want to ensure that the /metrics endpoint always works correctly.