23 Aug 2019 02:34 AM
Hi there,
I have a bunch of dashboards that our client has implemented. We have been experiencing issues on our dashboards - the underlying problems is that the underlying measure (class method etc) has changed - in Dynatrace parlance this is a 'key request'. What I would like to be able to do is to find out about each dashboard and get meta information
I have already used the Dynatrace API over REST with an authorisation key and I can get details back of the client servers etc - no problem with the API.
To my question
What is the best API (or set of APIs) to allow me to find out the details of any of the specific dashboard. Specifically I would like to know
I may have to call a few APIs and then use some of the returned values across a few API calls (eg if API A return a 'correlation id') - happy to follow your advice here.
I am hoping that the responder will provide names (and any specific URLs params / message body) for specific APIs as described on the following page
https://www.dynatrace.com/support/help/extend-dynatrace/dynatrace-api/
There are lots of APIs described at that page - please provide some recommendations on which one to use.
Thankyou community
23 Aug 2019 06:34 AM
As I understand you do not only want to have data structure from dashboard but data contains on tiles as well?
Sebastian
23 Aug 2019 06:42 AM
Hi there. Yep the dashboard has lot of tiles on it. Each of the tiles has a measurement and typically a graph (e.g a line graph). I would like get the meta data associated with each of the tiles. Thus tile 1 might be a measure of the 'number of books sold'.
I may have to call a few APIs and then use some of the returned values across a few API calls (eg if API A return a 'correlation id') - happy to follow your advice here.
I am hoping that the responder will provide names (and any specific URLs params / message body) for specific APIs as described on the following page
https://www.dynatrace.com/support/help/extend-dynatrace/dynatrace-api/
There are lots of APIs described at that page - please provide some recommendations on which one to use.
Thanks in anticipation
23 Aug 2019 07:26 AM
Best I think will be Dashboard Configuration API:
If any of tiles is configurable like Custom Chart you will have definition of metrics that are there available. If you for example has there some key requests as filter you should be able to see it, but I think tou will get only ID of those entities. I'm not sure if there is endpoint for this. If filters will be based on tags than there is this endpoint:
In general you will have to query your dashboards and check if yo have all data you need. If not, other endpoints has to be checked in order to find direct answers.
Sebastian