Application Monitoring in one place allows you to see your application performance trends at a glance from page load times to error rates, slow transactions, and a list of servers running the app.


Setup AWS EC2-Instance:

Step 1: Launch an instance

From the console dashboard, choose Launch Instance

2. The Choose an Amazon Machine Image (AMI) page displays a list of basic configurations, called Amazon Machine Images (AMIs), that serve as templates for your instance.

This article would demonstrate how a Spring Boot web application can be monitored using Micrometer which exposes metrics from our application, Prometheus which stores the metric data, and Grafana to visualize the data in graphs. Implementing these tools can be done quite easily by adding just a few configurations. In addition to the default JVM metrics we will see how we can expose custom metrics such as user counter(No. of times user access the API ).


Spring Boot Application

Step 1: Spring Boot application pom entries for Prometheus and Grafana.

First we have to add our micrometer…

Ramya Perumal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store