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

Access to selected Timeframe within DQL

Julius_Loman
DynaMight Legend
DynaMight Legend

Hello,

Is there any way to access the timeframe (start/end) of a DQL query within the query itself? Something like query variables.

I need to evaluate a certain sequence of bizevents flows. Typically the process duration (time between first and last event) is below 5 minutes. I need to use it in a filter command and filter only starting events which occurred more than 5 minutes before the timeframe end. 

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner
3 REPLIES 3

GerardJ
Mentor

Hello @Julius_Loman 
On Dashboards in a DQL query, you can use the variables $dt_timeframe_from and $dt_timeframe_to to get the dashboard timeframe
Not sure if that really answers your question...

Gerard

@GerardJ only partially - I need that in notebooks or SRG. Looks like I will raise another product idea.

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

this helped me out immensely, though. thanks @GerardJ !

Software Engineering Team Lead at FreedomPay

Featured Posts