Monitor Your Microservice via Prometheus

Monitor Your Microservice via Prometheus

Hey, this blog is about how you can monitor your existing microservice via monitoring tools like Prometheus, It is an open-source tool that works on the concept of metrics.

Prometheus is an open-source monitoring tool, which is conceptually based on Google's internal Borgmon monitoring system. Unlike traditional tools like Nagios, Prometheus implements a white-box monitoring approach: Applications actively provide metrics, these metrics are stored in a time-series database, and the time-series data is used as a source for generating alerts.

Prometheus comes with a powerful query language allowing for statistical evaluation of metrics. Many modern infrastructure components have Prometheus metrics built-in, like Docker's cAdvisor, Kubernetes, or Konsul. Moreover, there are libraries for instrumenting proprietary applications in a lot of programming languages.

I also added a youtube video that gives an introduction to monitoring with Prometheus and shows how Java applications can expose metrics for Prometheus monitoring environments. I will show how to instrument applications directly in code and monitor your existing application using Prometheus from scratch, I have used a basic Springboot-based application for the demo.

This is a very basic video where I am explaining pushing metrics and using them, if you already have DevOps experience or any experience related to monitoring then this would be very basic for you, here I am targeting an audience who are completely new to monitoring.

Video Link - 

Linkedin - https://www.linkedin.com/in/harshit-goyal1/