DEV Community

Adam Gardner
Adam Gardner

Posted on

Prometheus for Absolute Beginners

If you're brand new to Prometheus and want a quick and easy introduction, this video will do just that in 13 minutes.

https://youtu.be/RwsSZ9DZvrg

In the video I cover:

  • Prometheus and its components
  • Different Prometheus metric types

Then during the hands on you will:

  • Create a Python / FastAPI based server which makes a prometheus metric available
  • Configure Prometheus to retrieve (aka pull or scrape) that metric into Prometheus
  • Understand how to troubleshoot prometheus connection errors to the endpoints it is trying to scrape (aka. targets)
  • Start Prometheus and view the metric
  • Update the metric and watch the the new value be shown in Prometheus

Open Source Code

All of the code I use is open source and available here: https://github.com/agardnerit/prometheus-for-beginners

Top comments (0)