#Prometheus, #DockerMonitoring, #Grafana Hello Friends, Welcome back to my channel. We are back with another interesting tutorial on Docker, Prometheus and Grafana. We are going to see how we can monitor docker using Prometheus and Grafana oin this video. We will configure docker machine to send metrics to Prometheus and then we will make use of the metrics in prometheus to connect to datasource in Grafana to create dashboards.
--------------------------------------------------------------------------------------------------
How to setup docker:
• DevOps | CI CD Pipeline | Setup Docke...
-----------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------
Setup docker swarm:
• Docker Swarm Tutorial | 3 Node: 1 Man...
---------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
Docker documentation reference:
https://docs.docker.com/config/daemon...
/etc/docker/daemon.json
{
"metrics-addr" : "0.0.0.0:9323",
"experimental" : true
}
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Prometheus setup as container:
docker run -d -u root --name prometheus -p 9090:9090 -v prometheus_config:/etc/prometheus/ prom/prometheus
job name : 'docker'
static_configs:
-targets: ['ipaddress:9323']
----------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------
Grafana setup as container:
docker run -d -u root--name grafana -p 3000:3000 -v grafana_config:/etc/grafana -v grafana_data:/var/lib/grafana -v grafana_logs:/var/log/grafana grafana/grafana
----------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------
Firewall exceptions:
sudo firewall-cmd --permanent --zone=public --add-port=9323/tcp
sudo firewall-cmd --permanent --zone=public --add-port=9090/tcp
sudo firewall-cmd --permanent --zone=public --add-port=3000/tcp
sudo firewall-cmd --reload
--------------------------------------------------------------------------------------------------
=================================================
Follow me @:
/ thetips4you
/ @thetips4you
/ thetipsforyou
http://www.thetips4you.com
======================================================
Watch video Docker Monitoring With Prometheus And Grafana | etc/docker/daemon.json | Thetips4you online without registration, duration hours minute second in high quality. This video was added by user Thetips4you 04 July 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 13,133 once and liked it 168 people.