Project: mesos
Issue MESOS-4776: Libprocess metrics/snapshot endpoint rate limiting should be configurable.
Currently the {{/metrics/snapshot}} endpoint in libprocess has a [hard-coded|https://github.com/apache/mesos/blob/0.27.1/3rdparty/libprocess/include/process/metrics/metrics.hpp#L52] rate limit of 2 requests per second: {code} MetricsProcess() : ProcessBase("metrics"), limiter(2, Seconds(1)) {} {code} This should be configurable via a libprocess environment variable so that users can control this when initializing libprocess.
Story points: 2