cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

API to trigger Memory dump

ct_27
DynaMight Pro
DynaMight Pro

This was asked back in 2020 but now that we're 2 to 3 years out I figured I'd ask again.

Also, with Dynatrace's push for API first I thought it might be relevant to ask again.

 

We have a need to trigger this when a specific process reaches 86% of heap for 5 minutes.  That way we can get a dump right before it freezes up.  

(builtin:tech.jvm.memory.pool.used:filter(and(or(in("dt.entity.process_group_instance",entitySelector("type(process_group_instance),entityId(~"PROCESS_GROUP_INSTANCE-84A1A852CED43316~")"))))):splitBy():max) / (builtin:tech.jvm.memory.pool.max:filter(and(or(in("dt.entity.process_group_instance",entitySelector("type(process_group_instance),entityId(~"PROCESS_GROUP_INSTANCE-84A1A852CED43316~")"))))):splitBy():max)*(100)

 

HigherEd
1 REPLY 1

CTull
Guide

We too are looking to automate these on our full stack webspehere applications as we routinely see memory leaks here and with mule.  We are looking at ways to automate a mem dump using ansible tower and recycle the service.

Featured Posts