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

Add Admin Router metrics scraping to agents

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: DC/OS 1.13.0
    • Component/s: metrics
    • Labels:
      None

      Description

      By the help of the newly introduced VTS module we expose Nginx metrics of Admin Router already on /nginx/metrics on master nodes that is then scraped by Telegraf. In order to do the same for agent nodes Telegraf needs to be configured slightly differently, scraping on the specific adminrouter_agent_port instead.

      The HTML status display on `/nginx/status` also does not work in the same way for agent because it is not possible to access the HTTP server of an agent without going through a master node first.

      In order to access an agent nodes `/nginx/status` endpoint we would therefore make it possible to proxy this endpoint through a master, similar to accessing the Mesos UI on an agent:
      The outcome would allow to view the status on https://leader.mesos/agent/<agent-id>/nginx/status

        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: