From the course: Advanced Spring: Spring Boot Actuator
Unlock the full course today
Join today to access over 25,000 courses taught by industry experts.
Micrometer Prometheus registry - Spring Boot Tutorial
From the course: Advanced Spring: Spring Boot Actuator
Micrometer Prometheus registry
- Micrometer's job is to expose our applications metrics to external monitoring systems. While Prometheus job, is to scrape and store the metrics exposed by micrometer. However, we need a way to get the metrics exposed from our application into Prometheus. Luckily for us, Micrometer consists of a set of modules containing implementation for several monitoring systems. All we need to do is add the micrometer registered dependency into our pumped XML file, by doing so we'll gain an additional endpoint for Prometheus @twitter/Prometheus. Let's dive right back into intelligence and make this happen. First thing I need to do is bring it into the dependency for Micrometer Prometheus Registry. So I'm going to type dependency. The group ID here would be io.micrometer. The artifact ID is micrometer-registry-Prometheus. Okay, give it a second to load. Once the pump files loaded successfully, we're going to reboot the…
Contents
-
-
-
-
-
(Locked)
Spring Boot Actuator metrics and Prometheus1m 43s
-
(Locked)
Micrometer Prometheus registry2m 14s
-
(Locked)
Prometheus configuration1m 56s
-
(Locked)
Installing and running a Prometheus Docker image2m 50s
-
(Locked)
Take the Prometheus UI for a spin2m 33s
-
(Locked)
Adding custom metrics4m 22s
-
(Locked)
Viewing custom metrics from the Prometheus UI3m 35s
-
(Locked)
-
-