Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
08-25-2021 09:18 AM
I'm using the v20.5 java agent.
Is there a way to trigger and download a thread dump via the API? I don't see one.
In the UI, we can do something like this:
I would like to automate that.
thanks
08-30-2021 11:28 AM
Hi @John.Gregg,
I did some searching and found this. It seems API can be used to initiate a thread dump, but not download.
Example
Request
Response
This example creates an action of the type Thread Dump. See Download Examples.
{
"actionType": "THREAD_DUMP",
"name": "Thread Dump Action",
"numberOfThreadDumps": 2,
"intervalInMs": 500,
"approvalBeforeExecution": {
"requireApproval": true,
"approverEmail": "email@website.com"
}
}
Thanks,
Ryan, Cisco AppDynamics Community Manager
Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Check out Observabiity in Action
new deep dive videos weekly in the Knowledge Base.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form