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

This product reached the end of support date on March 31, 2021.

Can we use Rest api to get measures and business transaction?

service_apms
Organizer

Hello is there any way to use rest APi to get measures and BT on dynatrace 7.0?

5 REPLIES 5

Joe_Hoffman
Dynatrace Leader
Dynatrace Leader

Look at Dashboard REST interface.

https://www.dynatrace.com/support/doc/appmon/appmo...

Build a dashboard which contains the data you want, then use the REST interface to query that dashboard.

There's also a Filter option and thru the filter you can specify the BT of interest.

JamesKitson
Dynatrace Leader
Dynatrace Leader

FYI the product you are using is called AppMon - I have moved this to the appropriate forum.

JamesKitson
Dynatrace Leader
Dynatrace Leader

You can't query the measures directly but what you can do is create dashboards with the data you need and query them for their content using the dashboards and reporting API:

https://www.dynatrace.com/support/doc/appmon/appmo...

James

service_apms
Organizer

Thank you @Joseph M. H.

But, as i see in the documentation that generate a report ,

What we really need is a way to get the information in a json format for example.

XML is one of the options you can parse, there's also a community plugin for JSON reports haven't tried that through the rest API though so not sure if it works.

https://community.dynatrace.com/community/display/DL/JSON+Reporting+Plugin (requires server restart).

Regardless this is the only option you'll have in AppMon for querying data through the API.