-
Metrics exposed by Spring Boot Actuator
rksuma@Ramakrishnans-MacBook-Pro sztab % docker exec sztab-sztab-backend-1 curl http://localhost:8181/actuator % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1907 0 1907 0 0 51550 0 --:--:-- --:--:-- --:--:-- 52972 {"_links":{"self":{"href":"http://localhost:8181/actuator","templated":false},"beans":{"href":"http://localhost:8181/actuator/beans","templated":false},"caches-cache":{"href":"http://localhost:8181/actuator/caches/{cache}","templated":true},"caches":{"href":"http://localhost:8181/actuator/caches","templated":false},"health":{"href":"http://localhost:8181/actuator/health","templated":false},"health-path":{"href":"http://localhost:8181/actuator/health/{*path}","templated":true},"info":{"href":"http://localhost:8181/actuator/info","templated":false},"conditions":{"href":"http://localhost:8181/actuator/conditions","templated":false},"configprops":{"href":"http://localhost:8181/actuator/configprops","templated":false},"configprops-prefix":{"href":"http://localhost:8181/actuator/configprops/{prefix}","templated":true},"env":{"href":"http://localhost:8181/actuator/env","templated":false},"env-toMatch":{"href":"http://localhost:8181/actuator/env/{toMatch}","templated":true},"flyway":{"href":"http://localhost:8181/actuator/flyway","templated":false},"loggers":{"href":"http://localhost:8181/actuator/loggers","templated":false},"loggers-name":{"href":"http://localhost:8181/actuator/loggers/{name}","templated":true},"heapdump":{"href":"http://localhost:8181/actuator/heapdump","templated":false},"threaddump":{"href":"http://localhost:8181/actuator/threaddump","templated":false},"metrics-requiredMetricName":{"href":"http://localhost:8181/actuator/metrics/{requiredMetricName}","templated":true},"metrics":{"href":"http://localhost:8181/actuator/metrics","templated":false},"sbom":{"href":"http://localhost:8181/actuator/sbom","templated":false},"sbom-id":{"href":"http://localhost:8181/actuator/sbom/{id}","templated":true},"scheduledtasks":{"href":"http://localhost:8181/actuator/scheduledtasks","templated":false},"mappings":{"href":"http://localhost:8181/actuator/mappings","templated":false}}}% rksuma@Ramakrishnans-MacBook-Pro sztab %
| Type |
New Feature
|
| Priority |
Normal
|
| Assignee | |
| Version |
1.10.1
|
| Sprints |
n/a
|
| Customer |
n/a
|
Issue Votes (0)
Problem Statement
Provision a GUI screen to display Sztab system performance metrics for performance monitoring and troubleshooting.
Background
Sztab exposes Spring Boot Actuator endpoints (
/actuator/metrics,/actuator/heapdump,/actuator/threaddump, etc.) but there is currently no UI to consume them. During performance investigations (SZ-125 streaming, push latency diagnosis) the team is reduced to rawcurlcalls inside the Docker container. Spring Boot Admin provides a zero-custom-code operational dashboard that surfaces these metrics in a usable form.This is also a team capability showcase — when the system is performing poorly, the dashboard gives developers and QA an immediate visual on what is ailing it (heap pressure, slow endpoints, thread contention) without needing CLI access.
Tasks
spring-boot-admin-starter-clientdependency to Sztab backendpom.xml(version aligned to Spring Boot version in use)sztab-admincontainer todocker-compose.ymlusingmichayaak/spring-boot-admin:3.3.xapplication-docker.ymlpointing at the admin containermanagement.endpoints.web.exposure.include=*)admin.sztab.localrather than a raw portdocker compose upAcceptance Criteria
http://admin.sztab.localin the local Docker environmentheapdumpandenvendpoints are NOT exposed in any production-profile configurationNotes