Spring Boot Integration for Grafana Cloud
Spring Boot is Spring’s convention-over-configuration solution for creating stand-alone, production-grade Spring-based Applications. This integration enables the agent to send metrics to Grafana Cloud along with a useful default dashboard for visualization.
This integration monitors a Spring Boot app.
The dashboard is a modified version of the Spring Boot Statistics community dashboard.
The application must have the actuator enabled. The
application.properties should have
management.endpoints.web.exposure.include configured to include
Please see the demo application for details.
Use the walkthrough in Grafana Cloud to install the Spring Boot Integration, like in our Quickstart.
Post-install configuration for the Spring Boot Integration
In the agent configuration file, the agent must be pointed to the Spring Boot process, such as
spring-boot:1235 in the example below, that exposes the
prometheus: wal_directory: /tmp/wal global: scrape_interval: 5s configs: - name: integrations scrape_configs: - job_name: integrations/spring-boot static_configs: - targets: ['spring-boot:1235'] metrics_path: /actuator/prometheus remote_write: - url: http://cortex:9009/api/prom/push