Uploaded image for project: 'DC/OS'
  1. DC/OS
  2. DCOS_OSS-4562

Instrument and Transmit Nginx Metrics from Admin Router to dcos-telegraf

    Details

      Description

      In DC/OS Admin Router wraps an instance of Nginx.
      As a first step for collecting metrics for Admin Router we want to collect advanced metrics from Nginx. Nginx can be instrumented by adding the 3rd party module Virtual Host Traffic Status Module (VTS). https://github.com/vozlt/nginx-module-vts

      Telegraf provides a native Plugin for scraping data from the VTS module endpoint then exposed by Admin Router. Therefore, dcos-telegraf must be configured to scrape data from Admin Router using that plugin.

      This ticket is only complete with a corresponding DC/OS integration test that makes sure that metrics are collected by dcos-telegraf. One can use the dcos-telegraf output endpoint at localhost:61091/metrics where collected metrics are populated at least once every 20 seconds.

      The collected metrics must be tagged accordingly so that they are identifiable as stemming from the Admin Router instances running on DC/OS master nodes.

      This ticket is part of the metrics collection effort of the Security Team tracked in:
      https://docs.google.com/document/d/1KIMPNTEbkyoQQmdu2c7PLIvgz4wjvwblmiK8u4tx1o0/edit#

      Please refer to the metrics design doc for further information:
      https://docs.google.com/document/d/1aKW7JC-C4OTPMhKf96eeeL7HZ4AX_wvwntKznNcEKkM/edit

        Attachments

          Activity

            People

            • Assignee:
              timweidner Tim Weidner
              Reporter:
              timweidner Tim Weidner
              Team:
              Security Team
              Watchers:
              Mergebot, Tim Weidner
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: