In this recipe, we will set up monitoring for Mesos.
Monitoring
Getting ready
We must have a running monitoring ecosystem. Metrics storage could be a simple time-series database such as graphite, influxdb, or prometheus. In the following example, we are using graphite and our metrics are published with http://diamond.readthedocs.io/en/latest/.
How to do it...
Monitoring is enabled by default. Mesos does not provide any way to automatically push metrics to the registry. However, it exposes them as a JSON that can be periodically pulled and saved into the metrics registry...