![]() ![]() A custom configuration file may be used into the container from the host system as a Docker data volume or we can choose a build Docker container with our own configuration, her for demo purpose we will choose to pass in the config file from the host system. We have multiple ways of overriding the default config files. We can start the Docker image without using any options using the demo configuration which is located at /etc/Prometheus/Prometheus.yml. Dockers container images for Prometheus components are located under the prom organization from the Dockers Hub. We are installing the Prometheus using the Dockers, so make sure that we already installed Docker on the CentOS 7 machine. To complete this article we needed these resources CentOS 7 installed, a user with sudo access and Dockers installed. It addresses many aspects for monitoring and generating a collection of metrics and graphs for resulting the data on the dashboards along with alerting. Prometheus is an open source monitoring tool with time series database. In this article, we will learn how to install Prometheus server to collect the metrics and query them and also install Grafana – a web based graphical dashboard builder. ![]()
0 Comments
Leave a Reply. |