You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have several ways for troubleshooting, like Heap dump, JFR, and Thread dump. This buildpack already support JFR and Heap Dump, is it possible to support Thread Dump? Or why is the Thread Dump helper not included in the buildpack?
Possible Solution
Motivation
We hope to use Java buildpack to build apps, but some features are not supported, like how to handle thread dump
The text was updated successfully, but these errors were encountered:
We could certainly add something to make doing this easier, what would you like to see?
Right now, you can take heap dumps by issuing a kill -3 on the Java pid. How you do that exactly depends on where you are running the container. With Docker, it's a docker exec. With K8s, it would depend on what permissions you have, but possibly kubectl exec.
You can also...
Use JMX, the buildpack has flags to quickly enable/disable JMX (disabled by default)
Use application-specific health monitors, like Spring Boot Actuator. These will typically provide an endpoint through which you can fetch thread dumps
Use JFR/JMC
Use an APM tool, like Datadog
Happy to add more options to make debugging easier. If anyone has feedback on what would help, please let us know.
Describe the Enhancement
We have several ways for troubleshooting, like Heap dump, JFR, and Thread dump. This buildpack already support JFR and Heap Dump, is it possible to support Thread Dump? Or why is the Thread Dump helper not included in the buildpack?
Possible Solution
Motivation
We hope to use Java buildpack to build apps, but some features are not supported, like how to handle thread dump
The text was updated successfully, but these errors were encountered: