I would to create a Java program that connects to our Dynatrace 6.1 server and
1. Extracts info on measures that have been configured with a specific text pattern in a particular monitoring profile.
2. For all the measures that have been found in the 1st step, verify that the measure is functioning / returning data.
From some earlier posts it appears that you can only extract measure data using the REST interface if the measures are configured in a dashboard. I am not clear whether that is still the case with 6.1 or 6.5 (which we will be moving to shortly). Can this be done, or do you still require dashboard to access the measures? Can the 1st step as described above me accomplished via the rest interface?
Solved! Go to Solution.
There are various REST interfaces available. The measures are listed in the system profile XML files which are stored on the server.
For step 1 you could do something like this:
Which will give you the profile XML files in a ZIP file.
To actually verify that those measures are returning data, I believe you'll still need a dashboard as there is no direct performance warehouse access API. The standard mechanism for retrieving data is to create a dashboard. You might be able to do something clever and auto-generate a dashboard though (as dashboards are XML too)?