Add Spring Boot Actuator and the Prometheus registry, then expose the Prometheus endpoint deliberately: ```yaml management: endpoints: web: exposure: include: health,info,prometheus ``` Scrape `/actuator/prometheus` from the metrics system and verify it with: ```bash curl http://localhost:8080/actuator/prometheus ``` Do not expose all Actuator endpoints indiscriminately. Secure `/actuator/**` with an administrative role or isolate the management port/network path, while allowing only the heal...
Scanned 9/5/2026
Install to Claude Code
npx -y skills add HoangNguyen0403/agent-skills-standard --skill spring-boot-observability --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Spring Boot Observability?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/hoangnguyen0403-spring-boot-observability-d2a3cb20)More formats (shields.io, HTML) on the badges page.
Add Spring Boot Actuator and the Prometheus registry, then expose the Prometheus endpoint deliberately:
```yaml
management:
endpoints:
web:
exposure:
include: health,info,prometheus
```
Scrape `/actuator/prometheus` from the metrics system and verify it with:
```bash
curl http://localhost:8080/actuator/prometheus
```
Do not expose all Actuator endpoints indiscriminately. Secure `/actuator/**` with an administrative role or isolate the management port/network path, while allowing only the health endpoints required by platform probes. Add application metrics with low-cardinality tags; never use unbounded user IDs, URLs, or request values as metric labels.
For a production service, combine metrics with Micrometer tracing and structured JSON logs so operators can move from a metric to a trace and correlated log. Validate that the endpoint is reachable by the scraper, that authentication/network policy is correct, and that the application does not publish secrets or sensitive configuration through management endpoints.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!