Skip to content
Back to skills

Spring Boot Observability

ASecurity

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...

  • 584 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 5, 2026
developmentbashspring

Security analysis

A96/100
  • mediumUses curl or wget to download content

Pro scans all 11 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add HoangNguyen0403/agent-skills-standard --skill spring-boot-observability --agent claude-code

Installs 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 with every re-scan.

Security grade badge for Spring Boot Observability
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hoangnguyen0403-spring-boot-observability-d2a3cb20/badge)](https://www.skillsdirectory.com/skills/hoangnguyen0403-spring-boot-observability-d2a3cb20)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
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.md719 B
  • eval-1.with-skill.md1 KB
  • eval-2.baseline.md675 B
  • eval-2.with-skill.md1 KB
  • eval-3.baseline.md749 B
  • eval-3.with-skill.md1 KB
  • trigger-1.md113 B
  • trigger-2.md122 B
  • trigger-3.md107 B
  • trigger-4.md88 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.