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

New applications cause an empty response from the /app endpoint in dcos-metrics

    Details

    • Sprint:
      ClusterOps Sprint 1.11-1
    • Story Points:
      8

      Description

      When a container is newly created, metrics exist at /metrics/v0/container/<container-id> but not at /metrics/v0/container/<container-id>/app. An empty response is served.

      The effect of this is that any plugin trying to access the /app endpoint crashes (if it's been deployed by systemd, it will restart, but in some cases it will crash repeatedly and enter a failed state). 

      Either the /app endpoint should simply serve an empty array of datapoints instead, or the plugin interface should not naively attempt to process it this response as JSON. 

        Attachments

          Activity

            People

            • Assignee:
              philip Philip Norman (Inactive)
              Reporter:
              philip Philip Norman (Inactive)
              Team:
              DELETE Cluster Ops Team
              Watchers:
              Philip Norman (Inactive)
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your JIRA administrators.