No way to export directly data to Excel,
But you can use API to get data in json format (or csv for certain case) and convert to excel if you want.
We are using this method.
Have a good day.
Hi @Malaik ,
and with the API how can I get the information from a multi-analysis view? For one fixed service we want the median, percentile 90, avg and sum splitted by all the request names...
do you have some API call example showing how to do this?
With this call:
we get all the data for a global service but not splitted by request...
Regards! Josep Maria
A short answer is - you cannot do that in general. MDA has much stronger options and is calculated on the flight from service request data.
Some "simpler" MDA filters such as request count without splitting on the dimension of course match some of the built-in metrics and you can request them.
I really wish there would be an MDA API. There is already an RFE for it.
I dont have an exact example
but I think you can use /metrics/query in the API V2
Or for this specific case, I proceed like this.
I create 2 metrics (for avg and sum, but unfortunately not available for median and percentile)
After that I call a API for those metrics.
Or just specify the service in the entity selector with the aggregation...
@jcamps I might have a solution to this, but I don't like it myself 😄
Let's assume you have Notepad++ [we will use this knowledge kindly provided by the internet https://stackoverflow.com/questions/45969411/notepad-rows-to-columns-in-groups]
Let's say that you ctrl+C, from the word "Dimensions" on the screen you shared to the bottom of the page:
Let's say that you ctrl+V the copy content in a notepad++ page. Here you manually remove the line where you find "Actions":
Now, while on notepad++, blindly press ctrl+H (Find and Replace) and insert the following:
and click on "replace all" > this will add a white line after each group of 3 line.
and now proceed again by filling the "find and replace" form with those value:
and press on "replace all" > this will separate your data correctly in column divided by |
The end result will look like this:
Now your data look good enough to be in an excel sheet (where you can use this function to divide the data into columns); for example:
Wrapping up: this solution is horrible but is also why it kinda make me smile 🙂 it's not the easy way, but it gets the data into our beloved excel.
Probably what you need for this scenario is to create a metric with those conditions (https://www.dynatrace.com/support/help/how-to-use-dynatrace/transactions-and-services/service-monito...) and after the metric is created you will be able to char, alert and pull that data.
Link to the Chrome Extension Dashboard Powerup to export to excel: https://chrome.google.com/webstore/detail/dynatrace-dashboard-power/dmpgdhbpdodhddciokonbahhbpaalmco and github instructions: https://github.com/dynatrace-oss/DynatraceDashboardPowerups#Installation