Our great sponsors
-
micrometer
An application observability facade for the most popular observability tools. Think SLF4J, but for observability.
-
influxdb3-python
Python module that provides a simple and convenient way to interact with InfluxDB 3.0.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
In this tutorial, you'll learn how to build a Java web application with Spring Boot that collects metrics via the Micrometer library and automatically sends them to an instance of InfluxDB, the ideal database for storing this type of data.
In this tutorial, you'll learn how to build a Java web application with Spring Boot that collects metrics via the Micrometer library and automatically sends them to an instance of InfluxDB, the ideal database for storing this type of data.
If you want to test the demo application you're going to learn how to build, clone the GitHub repository supporting this tutorial with the following command:
Please note: The H2 database was chosen for simplicity. You can replace it with any other database technology and use the Spring Boot JPA to connect. The demo application will still work.