-
Notifications
You must be signed in to change notification settings - Fork 4
Observability and Metrics
Codebloom uses Spring Boot Actuator and Prometheus to provide operational insights into the running application. This allows for monitoring application health, performance metrics, and system statistics.
All metrics for production & staging can be viewed on monitor.tahmid.io.
Note
Please reach out to @tahminator if you are on the Codebloom dev team & need the credentials to login & view the dashboard
Spring Boot Actuator exposes operational information about the running application through HTTP endpoints.
All actuator endpoints are protected with HTTP Basic Authentication to prevent unauthorized access to sensitive operational data.
Authentication Details:
- Authentication Type: HTTP Basic Auth
-
Role Required:
ACTUATOR -
Credentials: Stored in environment variables
-
ACTUATOR_USERNAME- Username for actuator endpoints -
ACTUATOR_PASSWORD- Password for actuator endpoints (generate withopenssl rand -base64 48 | head -c 64)
-
Currently exposed endpoints:
-
/actuator/prometheus- Prometheus-formatted metrics endpoint for scraping
Prometheus metrics provide detailed insights into application performance, JVM statistics, HTTP requests, and custom business metrics.
Local Development:
http://localhost:8080/actuator/prometheus
(Requires HTTP Basic Auth with actuator credentials)
Staging:
https://stg.codebloom.patinanetwork.org/actuator/prometheus
Production:
https://codebloom.patinanetwork.org/actuator/prometheus
To test the actuator endpoint locally:
- Ensure your
.envfile hasACTUATOR_USERNAMEandACTUATOR_PASSWORDset - Start the application (
just dev) - Access the endpoint using curl:
curl -u actuator:your_password http://localhost:8080/actuator/prometheusOr use a browser and enter the username/password when prompted.
- Home
- Setup
- Developer Commands
- Secrets
- Technical Docs
- Feature Docs
- CI Commands
- Contributing
- Codebloom ↗
- Codebloom - Swagger Documentation ↗
- Codebloom - Staging ↗
- Codebloom - Staging - Swagger Documentation ↗
- Codebloom - Local - Swagger Documentation ↗
- Codebloom - Local - Prometheus Metrics ↗
- Grafana Dashboard - Separate domain
- Public Taskboard (Read-only) ↗