Prometheus Monitoring With Grafana Tutorial For Beginners

Tech Tutorials with Piyush
Tech Tutorials with Piyush
4.5 هزار بار بازدید - 3 سال پیش - This video will show a
This video will show a step-by-step guide to set up continuous monitoring and alerting using open-source tools such as Prometheus, Grafana, Alert Manager, cAdvisor, and Node Exporter.

Prometheus: To monitor the overall health of the server/end-point based on the regular pings issued by Prometheus and store data in the Prometheus database.
Node-Exporter: To gather all the low-level metrics data from the target server.
cAdvisor: To monitor low-level usage of Docker-based containers in real-time.
Grafana: To visualize graphs /usage of different metrics.
AlertManager: To alert the users based on the conditions defined in alert rules via email/slack/pagerduty etc.

Node-exporter gathers real-time OS-level metrics from Docker Host similarly, cAdvisor gathers docker level metrics from Docker engine for all the running containers.
Prometheus pulls those metrics and stores them in TSDB for further manipulation.
AlertManager queries the Prometheus TSDB based on the rules defined alert managers alert_rules.yml file and it would trigger the alerts to different communication channels as configured.
Grafana is used to visualize the data stored in Prometheus with different dashboard widgets.
you can create a data source such as Prometheus so that it will send the metrics to Grafana and import a dashboard to visualize those data metrics.




▬▬▬▬▬▬ T I M E S T A M P S ⏰  ▬▬▬▬▬▬
0:00  Intro
0:10 Continuous monitoring  flow
1:34 Priviosioning the infrastructure
3:01 Create a security group
6:10 Install Docker
7:45 Start Prometheus
15:30 Start Node exporter
17:12 Start cAdvisor
19:45 Start Grafana
21:25 Start alert manager
25:03 Add a data source in Grafana
26:27 Import dashboards in Grafana
32:30 Configure AlertManager
35:04 Trigger an Alert

🔗 Links:
Public GitHub repository to download the configuration files and docker commands that I have used in the video
https://github.com/piyushsachdeva/Pro...

🔥 Check out our complete AWS Playlist here:
AWS (Amazon Web Services) tutorials
AWS Certified Cloud Practitioner
AWS Certified SysOps Administrator
AWS Certified Solutions Architect
AWS Networking


🔥Check out our DevOps Playlist here:
DevOps Tutorial for beginners

Subscribe to our channel to get notified about the latest videos.
🔥 techtutorialswithpiyush

Connect with me 👋
LINKEDIN:    ►
LinkedIn: piyush-sachdeva
FACEBOOK:  ►
Facebook: 1015771332531944
TWITTER:     ►
Twitter: techie_piyush

#Prometheus #DevOps #TechTutorialswithPiyush

References 📚:
https://grafana.com/grafana/dashboards
https://github.com/prometheus/prometheus
https://github.com/prometheus/alertma...
https://github.com/prometheus/node_ex...
https://github.com/google/cadvisor
https://github.com/grafana/grafana
https://docs.docker.com/engine/refere...
https://aws.amazon.com/
https://docs.docker.com/engine/instal...
Medium: continous-monitoring-and-alerting-at-docker-host-containers-and-os-level
3 سال پیش در تاریخ 1400/04/30 منتشر شده است.
4,536 بـار بازدید شده
... بیشتر