JVM Thread pool usage percentage API

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

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