Prometheus has certainly become the most used solution to monitor applications running in a distributed system such as Kubernetes.
It quite simple to expose metrics in a Spring Boot application that can be scraped using Prometheus.
Continue reading “Monitor Spring Boot Metrics using Prometheus and Grafana”
One of the notable Spring Boot 2 features is the introduction of Micrometer (SLF4J for application metrics).
Spring Boot ships with a whole series of built-in metrics collecting JVM metrics (memory usage, garbage collection, threads, and classes), CPU usage, Tomcat metrics as well as others.
Continue reading “Send Spring Boot Metrics into InfluxDB and Grafana”
The combination of InfluxDB, Telegraf and Grafana lets you collect and visualise almost any data. Here is who is doing what:
- InfluxDB is a time-series database
- Telegraf is an agent collecting data and sending it to InfluxDB
- Grafana is a tool to visualize data using dashboard. Is supports, InfluxDB as a data source, amonst many others.
The result of this tutorial will be a nice dashboard of the system usage on a Raspberry PI.
Continue reading “InfluxDB, Telegraf and Grafana on a Raspberry PI”