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

Extract Dashboard data in Python code

nkamalon
Newcomer

I am new to Dynatrace community. I am working on a POC to extract Dashboard Visits data from python code and analyze the data. Can you please suggest a suitable api/interface to extract dashboard information. Any examples would be helpful.


5 REPLIES 5

JamesKitson
Dynatrace Leader
Dynatrace Leader

The only way to pull the data directly out of AppMon is using the dashboards and reporting API. Basically what you'd be doing is first creating a dashboard saved on the server with the information you want and then using that API to pull the data out in one of the supported formats:

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

James


nkamalon
Newcomer

Thanks James.


snanjundaswamy
Newcomer

@Naveen K. Could you please tell me the api that you used to connect to Dynatrace from Python? Any sample code provided would be greatly appreciated!!

Thanks in advance!


Most common module for that is requests: http://docs.python-requests.org/en/master/

For the AppMon Server API that would be: https://www.dynatrace.com/support/doc/appmon/appmon-reference/rest-interfaces/server-rest-interfaces/dashboards-and-reporting-rest/


Thanks James! I will go through the above links.