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

Is it possible to get datasource pool names without the need for tons of individual plugins for each one?

larry_roberts
DynaMight Champion
DynaMight Champion

I have created a JMX OneAgent plugin for our WebLogic 12.2 environment and while I am able to pull in metrics such as Active Connections Current Count, I can not seem to find a way to make Dynatrace show the data connection pool names.

See below for example. While it is telling me the metrical values, it's not saying what the pool name is.

I know I could scope a single plugin down to an individual pool name, but then in order to get all of them within the WebLogic environment I would need 80 different plugins which is ridiculous so I really hope I am just missing something here.

Is it even possible?

Thanks!


1 REPLY 1

ADPaoloni
Mentor

Hi, we faced the same issue.

I was actually looking how to add to a single plugin the different metrics and dimentios for all the DSources for the Active Connections Current Count and list each one with each name. We started with the default JSON and test to add specific DS Names, since that worked then we thought about using splitting. (https://github.com/Dynatrace/JMX-Extensions) and add the DS manually and get each needed dimension. We never tested to see if that even works.

Then we thought about using a python script to connect to the MBean and retrive the data (To avoid to edit the .json in case of new DSource).

But sadly, since the Davis Engine dont use such metrics to alert and only allows the custom alert, we stop testing it and just use a single plugin with the DS we need it, and use that metric to alert in another system.