Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 1.92 KB

prometheus.md

File metadata and controls

52 lines (37 loc) · 1.92 KB

DC/OS metrics with Prometheus and Grafana

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.

screencast

Prerequisites:

Deploying Prometheus and Grafana

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.