Prometheus producers are already running on every node in your cluster, so you only have to configure Prometheus and Grafana. This walkthrough shows you the quickest way to deploy Prometheus to monitor your DC/OS cluster.
- A cluster running DC/OS 1.11 or higher (see Prometheus on DC/OS 1.9 and 1.10 for earlier versions of DC/OS)
- The DC/OS CLI installed
Download the following json resources:
Deploy Prometheus and Grafana in a pod:
$ dcos marathon pod add metrics.json
Deploy the Prometheus and Grafana service proxies:
$ dcos marathon app add prometheus.json
$ dcos marathon app add grafana.json
Wait for all services to become healthy, then open the Grafana UI at https://your-dcos-master-url/service/grafana
Add a Prometheus datasource to Grafana named 'DC/OS Metrics', using all the default values. Ensure that it set to be the default datasource.
Create a new dashboard in Grafana. You will see metrics appearing from the newly created DC/OS Metrics source.