01 Apr 2025
01:07 PM
- last edited on
02 Apr 2025
07:37 AM
by
MaciejNeumann
We have a requirement where we want to distribute any graph under Dynatrace dashboard into three sections.
Color coding (or) a line drawn vertically for below timeframe.
1. Before Performance run (2 hours).
2. During performance run (4 hours)
3. Post Performance run (2 hours)
this helps us to understand the system behavior before the test, during the test and recovery time after the test is complete in single graph.
25 Apr 2025 04:20 PM - edited 25 Apr 2025 04:26 PM
Assuming you are looking at classic dashboards, the following can be used as an overall method. In this example, I will be using CPU Max as the value Looking at 3 variations. 1 week ago, 2 weeks ago, and 3 weeks ago.
Granted that WONT get you vertical lines, but what you can do is overlay the metircs too. Starting at the last time frame. So post performance in 2 hours, then do a time shift saying -6 hours, then another timeshift with -8 hours.
You might be able to add vertical lines in the new dashboards/notebooks. But you could see about changing your view into something like a table view which will help bucket the time frames but they will become aggregate of what you have selected. You can rename the columns.
25 Apr 2025 07:48 PM - edited 25 Apr 2025 07:49 PM
If you push events into Dynatrace for the start and end of the performance test then you could conceivably append them to your DQL query and then visualize them (based on their timestamp) on a secondary Y-axis within the chart. You could format this in a way that gives a 1 minute "spike" at the start and end.