Dashboarding
Dynatrace dashboards, notebooks, and data explorer explained.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dashboarding with list, average/min

susmita_k
Organizer

I want to create a dashboard panel with last 7 days duration, start time, end time and average duration, max duration for a task. I am able to get the duration in an array and then get the average duration, max duration, but how do I retain the start time and end time ?

 

|fieldsAdd duration_min = round(round(toDouble(unixSecondsFromTimestamp(right.endtmsp)), decimals:6)- round(toDouble(unixSecondsFromTimestamp(starttmsp)), decimals:6))/60
|summarize d=collectArray(duration_min)
|fields a = record(value = d[], arraymax(d), arraymin(d),arrayAvg(d))
|expand a

 

how do I retain the start time and end time? 

1 REPLY 1

Michal_Gebacki
Community Team
Community Team

Hello, @susmita_k!

 

If you go to the main Dashboard Documentation Page, you'll find the "List Dashboards" section. Can you let us know if is it addressing your issue?

 

Thank you in advance!

Featured Posts