You can use the Metrics API to periodically poll for data about your cluster, hosts, containers, and applications. You can then pass this data to a third party service of your choice to achieve informative charts, dashboards, and alerts.
The Metrics API is backed by the DC/OS Metrics component, which runs on all nodes in the cluster.
For examples of how to use the Metrics API, see the Metrics Quick Start Guide.
Access to the Metrics API is proxied through the Admin Router on each node using the following route:
Access to the Metrics API of the agent nodes is also proxied through the master nodes:
To determine the URL of your cluster, see Cluster Access.
The Metrics API request and response bodies are formatted in JSON.
Requests must include the accept header:
Responses will include the content type header:
All Metrics API routes require authentication to use.
The Metrics API also requires authorization via the following permissions:
All routes may also be reached by users with the
To assign permissions to your account, see the permissions reference.
The following resources are available under both of the above routes: