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

How can we review / modify JMX Plugin metric configuration

jeff_rowell
Helper

Once we create custom metrics via a new JMX Plugin, the user interface only shows the Display Name, Metric Source, and Aggregation. There appears to be no ability to make any modifications to the configuration (other than adding new metrics), or ability to see details concerning how the metric was setup (MBean references etc.). Am I missing something or is this information simply not available? If not available, are there any plans to add this into the product?

 

4 REPLIES 4

jaroslaw_orlows
Dynatrace Pro
Dynatrace Pro

@Jeffrey R., see https://www.dynatrace.com/support/help/shortlink/plugins-java#saving-the-plugin

It reads: After you save the plugin, you cannot edit or delete the metrics, as this way we're able to maintain the continuity of your data. You can still add the new metrics. This time however, you won't be able to select the base Java process, because you will use a process where the plugin is already deployed.

Does it help?

@Jakub M. might have more info.


Yes, thank you very much. I can understand why editing isn't allowed, but it would be nice if the configuration details were displayed - we would have to manually document these details for reference in case any questions came up concerning how the metric is configured.


You can edit the plugin by downloading it, then opening the JSON file in your favourite text editor e.g. Notepad++, after which you can upload the file again. Note that you have to increment the plugin version number (top of the JSON file), else it will not allow you to upload the edited file.

Of course, one has to be careful with this approach, because if your JSON isn't 100% correct, you will also not be able to upload the edited file.


Beat me to it 😉