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

JVM Thread pool usage percentage API

abhishek_jawand
Newcomer

Hi,

 

 I am looking to capture websphere jvm thread pool used percentage value through dynatrace API. Kindly let me know if it is possible and share relevant API

 

Regards,

Sivesh Kumar R

1 REPLY 1

imran_khan
Dynatrace Supporter
Dynatrace Supporter

Hi Sivesh,
You would want to use our Metrics V2 api endpoint. And this is the metricID you need to use for this,

 builtin:tech.websphere.connectionPool.connectionPoolModule.PercentUsed


Here's a sample api request url:

{envurl}/api/v2/metrics/query?metricSelector=builtin:tech.websphere.connectionPool.connectionPoolModule.PercentUsed&from=now-1h&resolution=1m

Please apply the API token with an Authorization header.
Thanks,
Imran