Skip to content

Commit

Permalink
Merge pull request #82 from ADORSYS-GIS/66-create-alerting-concept-fo…
Browse files Browse the repository at this point in the history
…r-backend-e3

Documented grafana monitoring setup for backend
  • Loading branch information
Arielpetit authored Nov 18, 2024
2 parents f90a804 + d2ceb32 commit 79e4128
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions Docs/GrafanaMonitoring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Integrating Spring Boot with Grafana Dashboard

This guide highlights the key steps for integrating a Spring Boot application with a Grafana dashboard.

This document only gives a brief overview of what was done at every step to intgrate this technology into our project. For a more comprehensive guide refer to the [Scribe Guide](https://scribehow.com/shared/Integrate_Spring_Boot_with_Grafana_Dashboard__F-HZZjkBSiCKE3c9VD_42w).

## Steps to Integrate

1. **Connect to Grafana Cloud**:
- Navigate to your Grafana Cloud instance
- Select application in the sidebar to connect your Spring-Boot app.

2. **Install Grafana Alloy**:
- Create an authentication token for Alloy.
- Configure and test the Alloy connection.

3. **Update Your Codebase**:
- Add dependencies: `spring-boot-starter-actuator` and `micrometer-registry-prometheus`.
- Configure `application.properties` to expose all endpoints.
- Update the Alloy configuration file with the correct Spring Boot endpoint.

4. **Restart Alloy**:
- Restart the Alloy service to apply changes.

5. **Install and View Dashboards**:
- Install relevant dashboards and monitor your application using "Spring Boot Statistics."

0 comments on commit 79e4128

Please sign in to comment.