Index of every page on this site: llms.txt
All skills
github avatar

/spring-observability

@f10fdb8 official
by githubgithub/awesome-copilot42k stars
5,426
Run it yourself

Add and review observability in Spring Boot 3/4 apps: Actuator exposure and health probes, Micrometer metrics, Observation API, OpenTelemetry tracing and OTLP/Prometheus export, structured logging with correlation ids, and safe use of heapdump/threaddump. Use when instrumenting, monitoring or troubleshooting a Spring Boot service.

Use this Skill: https://skilld.dev/gh/github/awesome-copilot/spring-observability

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesdumps-and-diagnostics.md

≈371 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Heapdump, threaddump and runtime diagnosis

Caveats

  • /actuator/heapdump returns an HPROF file containing everything in memory: credentials, tokens, personal data. It also pauses the JVM and can be several GB.
  • /actuator/threaddump reveals class names, thread states and sometimes parameters; it is a reconnaissance aid for attackers.
  • Policy (shared with java-diagnostics): never expose either over public HTTP. The only exception is a temporary, user-consented window with authentication (admin role), TLS, and network restriction (separate management port, internal only), removed afterwards.
  • Treat downloaded dumps as sensitive data; store encrypted, delete after analysis, never attach to public tickets.
  • Boot 3.x/4.x can restrict access with management.endpoint.heapdump.access=none (Boot 3.4+); on older versions use enabled=false.

Using them safely

management:
  endpoints:
    web:
      exposure:
        include: health,info,threaddump     # heapdump only when needed
  endpoint:
    threaddump:
      access: read-only

Pair with a Spring Security chain restricting EndpointRequest.to("heapdump","threaddump") to an admin role (see spring-security).

Going deeper

For JDK tools (jcmd, jstack, jfr, jmap, Eclipse MAT, JFR recording and analysis), use the java-diagnostics skill. Actuator metrics (jvm.memory.used, jvm.gc.pause, hikaricp.connections.*, executor.*) usually tell you which tool to reach for.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 alert5d3 checks · Risk SAFE
  • Gen Agent Trust Hub5d

    The skill provides comprehensive guidelines for implementing and managing observability in Spring Boot applications. It follows secure defaults, includes explicit safety warnings regarding sensitive data (secrets, heap dumps), and recommends official or well-known community tools for development. No malicious patterns or security risks were detected.

  • Socket20d

    No alerts

  • Snyk5d

    Risk: CRITICAL · 2 issues

Signed by skilld at f10fdb8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated last month

README badge

README badge for github/awesome-copilot/spring-observability