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

JVM, Thread and DataSource Metrics by Dynatrace API

ajdimanuel
Inactive

Hi,

According
to DevOps policies we need to use massively Dynatrace API to feed other tools
with WAS and OpenShift Information. We need to get the following metrics, they
are grouped in 3 mayor sections, JVM, Threads and JDBC pools use:

JVM


1 HeapSize


2 FreeMemory

3 UsedMemory

4 ProcessCpuUsage

Thread Pool


1 ActiveCount


2 PoolSize

3
LifeTime


4 LiveCount

Web Applications > xxx#xxx.war > Servlets


ServiceTime

JDBC Pools

1 PoolSize


2 FreePoolSize


3 PercentUsed


4 UseTime


5 WaitTime

As I see in the API Documentation
(https://www.dynatrace.com/support/help/dynatrace-api/timeseries/how-do-i-fetch-the-metrics-of-monito...) there are many
metrics named "com.dynatrace.builtin:pgi.go.XX), they seem to be Go
spacific metrics. I see a few JVM metrics (not all we need, i.e: Head Size or
Free Memory) , no JDBC metrics and just
one thread metric (active count) , we need some more like Thread Pool Size, Life
Count… all they are PMI metrics but we will need the same for Jboss, Weblogic,
etc.

Do you
know if it is possible to get the missing metrics we need?

Thanks
in advance.

Alberto.


3 REPLIES 3

david_alonso
Dynatrace Pro
Dynatrace Pro

I will give you the same answer that I've reply you on the other thread:

https://answers.dynatrace.com/spaces/482/dynatrace-open-qa/questions/206159/dynatrace-jdbc-informati...


ajdimanuel
Inactive

Hi David,

I realized that Dynatrace has Websphere PMI metrics OOTB related to JDBC Pooles:

WebSphere PMI Connection Pools JDBC































timeseries id name unit aggregations
ruxit.pmi.connectionpool:connectionPoolModule.FreePoolSize Free pool size Count (count) AVG, SUM, MIN,
MAX
ruxit.pmi.connectionpool:connectionPoolModule.PoolSize Pool size Count (count) AVG, SUM, MIN,
MAX
ruxit.pmi.connectionpool:connectionPoolModule.WaitTime Wait time MilliSecond
(ms)
AVG, SUM, MIN,
MAX
ruxit.pmi.connectionpool:connectionPoolModule.WaitingThreadCount Number of
waiting threads
Count (count) AVG, SUM, MIN,
MAX

The thing is that Dynatrace does not have these metrics OOTB for Jboss or Weblogic, and if you need it you have to get them from Mbeans via JMX.

If I were able to get these metrics, the question is, is it possible to extract them via Dynatrace API? I am looking at the documentation and I don't find any subtopic about it.

Thanks in advance.

Alberto.


Hi Alberto,


Have you configured these metrics for JBoss ?

Which JMX domain should be consider for "connectionpool:connectionPoolModule " ?

We have JBoss 4.2


Please suggest.


Thanks & Regards,

Jalpesh