This plugin serves all metrics collected by the dcos-metrics service in Prometheus format. Note that this plugin is
only needed for DC/OS 1.9 and 1.10; as of DC/OS 1.11 this functionality is built into dcos-metrics.
Building this plugin (requires a Golang environment)
go get -u github.com/dcos/dcos-metrics
cd $(go env GOPATH)/src/github.com/dcos/dcos-metrics
make && make plugins
The resulting binary (dcos-metrics-prometheus-plugin), which will be built to the build/plugins directory
wth the dcos-metrics version appended to its filename, can then be installed on each node in the cluster.