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

Prometheus task metrics don't work in bridge or virtual IP mode

    Details

    • Sprint:
      Observability Team Sprint 44
    • Story Points:
      5

      Description

      Prometheus metrics collection from tasks works in host networking mode, but not in bridged or 'virtual network' mode. This is because we derive the prometheus address from the task's port and 'localhost'. However in bridged and 'virtual network' mode, the task's port is not bound to localhost. It is bound to the local IP address instead. We should therefore scrape LOCAL_IP:PORT_NUMBER

      Additionally, we should document that in 'virtual network' mode, the port must be mapped in order to enable prometheus metrics collection.

      This need not block beta, but we must fix this by GA.

        Attachments

          Activity

            People

            • Assignee:
              philip Philip Norman
              Reporter:
              philip Philip Norman
              Team:
              Observability Team
              Watchers:
              Daniel Baker, Jie Yu, Mergebot, Philip Norman, swoehrl-mw
            • Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: