Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-4776

Libprocess metrics/snapshot endpoint rate limiting should be configurable.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.28.0
    • libprocess
    • None
    • 2

    Description

      Currently the /metrics/snapshot endpoint in libprocess has a hard-coded rate limit of 2 requests per second:

        MetricsProcess()
          : ProcessBase("metrics"),
            limiter(2, Seconds(1)) {}
      

      This should be configurable via a libprocess environment variable so that users can control this when initializing libprocess.

      Attachments

        Issue Links

          Activity

            People

              bbannier Benjamin Bannier
              bbannier Benjamin Bannier
              Benjamin Mahler Benjamin Mahler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: