Spring Boot Observability
ASecurityAdd 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...
- 584 stars
- 0 votes
- 0 copies
- 5 views
- Added September 5, 2026
Security analysis
96/100- Uses curl or wget to download content
Pro scans all 11 files and shows the line behind each finding
npx -y skills add HoangNguyen0403/agent-skills-standard --skill spring-boot-observability --agent claude-codeAre you the author of Spring Boot Observability?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/hoangnguyen0403-spring-boot-observability-d2a3cb20)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.
Files in this skill
- eval-1.baseline.md
- eval-1.with-skill.md
- eval-2.baseline.md
- eval-2.with-skill.md
- eval-3.baseline.md
- eval-3.with-skill.md
- trigger-1.md
- trigger-2.md
- trigger-3.md
- trigger-4.md
Attribution
Related skills
View all in development →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.