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

How to expose dashboards created in One Agent using API.​

krunal_dave1
Helper

How to expose dashboards created in One Agent using API?

I have used below curl command and generated file with "{"error":{"code":404,"message":"feature disabled"}}"

curl -o DynatraceOneAgentInfrastructureDashboard.html https://xxxx.com/e/xxxxxx/api/config/v1/dashboards/8bdd3d50-5838-4a82-8a08-aa5a58670a3a? --header "Authorization: Api-Token fiFFmO7sQNKomLKPJob5n"

question is if this feature is disabled then what is the workaround?

Thanks & Regards,

Krunal Dave

 

2 REPLIES 2

nj_njoku
Inactive

Hi Krunal,

A dashboard itself cannot be exposed via the API but the timeseries metrics displayed in the dashboard can be exposed via the API. Please take a look at the documentation for the Timeseries API here.

Hope This Helps

NJ


Hi NJ

Thanks for your response.

Main goal for creating dashboard and exposed via API was to have all the data(for instance : JVM and Host related data) in one dashboard. if time series API is the only option then complexity will increase like joining multiple curl command for each time series matrix if one output is requested.

this is interim workaround but still question is why dashboard feature disabled in one agent(in AppMon latest v7.2 on wards this feature is still enable and ready to use).

Thanks

Krunal Dave


Featured Posts