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

API for Dynatrace Managed version dashboard with

lutkarbhuva
Newcomer

I have created a dashbaord for Dynatrace Managed version - 1.150; Need the API to get the dashboard for specific interval <start time > and <end time>.Also the link when accessed in another machine asking for user credentials

 

1 REPLY 1

franz_soengen
Inactive

Hi Bhuvan,

I don't think there is an API endpoint for Dashboards at the moment. What you can do is share the dashboard via a link: https://www.dynatrace.com/support/help/monitor/

It's only possible to view Dashboards when logged in so it will ask for credentials if you aren't. The default sharing link would be something like:

https://abc123.dynatrace-managed.com/e/{ENVIRONMENT-UUID}/#dashboard;id={DASHBOARD-UUID};gtf=defaultTimeFrame

But you can change the gtf parameter to any timeframe you like, e.g. for October 3rd 12am to October 4th 12am (UTC+2):

https://abc123.dynatrace-managed.com/e/{ENVIRONMENT-UUID}/#dashboard;id={DASHBOARD-UUID};gtf=c_1538517600000_1538604000000

To gernerate these you can use the default timeframe utility. That will adjust the gtf parameter of the current page automatically.

best regards

Franz


Featured Posts