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.
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
Related Grafana Cloud resources
How to set up and visualize synthetic monitoring at scale with Grafana Cloud
Learn how to use Kubernetes, Grafana Loki, and Grafana Cloud’s synthetic monitoring feature to set up your infrastructure's checks in this GrafanaCONline session.
Using Grafana Cloud to drive manufacturing plant efficiency
This GrafanaCONline session tells how Grafana helps a 75-year-old manufacturing company with product quality and equipment maintenance.