question

Larry R. avatar image
Larry R. asked ·

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

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!

oneagentextensionsdatabasewebservertipstricks
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Answer

Dante P. avatar image
Dante P. answered ·

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.

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.