

Running the prom/prometheus Docker image without any further options starts the Prometheus server with an example configuration file located at /etc/prometheus/prometheus.yml inside the container. The Prometheus server is the central piece of the Prometheus ecosystem and is responsible for collecting and storing metrics as well as processing expression queries and generating alerts.ĭocker container images for all Prometheus components are hosted under the prom organization on Docker Hub. Make sure to install Docker per the Prerequisites section before continuing. This section will explain how to install the main Prometheus server using Docker. The Prometheus configuration should be adjusted for different amounts of available resources as stated in Step 2 of this article. Note: This article has been tested on a 1 CPU/512 MB RAM CentOS 7.1 Droplet.

A Node Exporter to export system metrics in a Prometheus-compatible format.A Prometheus server to collect metrics and query them.In this tutorial, we will learn how to install three key components for using Prometheus on Docker.

To learn more about Docker, see The Docker Ecosystem: An Introduction to Common Components. To achieve this, it offers a variety of components that are run separately but used in combination.ĭocker provides a way for you to encapsulate server processes using Linux containers (or other encapsulation technologies) so that they are more easily managed and isolated from each other. It addresses many aspects of monitoring such as the generation and collection of metrics, graphing the resulting data on dashboards, and alerting on anomalies. Prometheus is an open source monitoring system and time series database. An Article from Prometheus co-creator Julius Volz Introduction
