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

Custom time selector - problems

Romanenkov_Al3x
DynaMight Pro
DynaMight Pro

Customer want to see a graphic (data explorer tile) for today.

The main reason - to have to see 13 work hours.

Another graphic (data explorer tule) for yesterday - we have start at 8:00 and last time is 21:00

Romanenkov_Al3x_1-1677754785011.png

Why Dynatrace can't provide to me same funcional for "today"

Romanenkov_Al3x_0-1677754621740.png

As you can see this interval will be only ~6 hours - and I can`t have same visualisation. 

In previos versions it works without any problems and I have

13 == 8:00-->21:00 for today tile

13 == 8:00-->21:00 for yesterday tile.

Now I have:

6 hours == 8:00-->current time(13:00) NOT for 21:00.... for today tile

13 hours == 8:00-->21:00 for yesterday tile.

How I can fix this and make Customer happy?

 

Regards,

Romanenkov Alex

DT_NGINX_ALL_WHITELISTED=1
4 REPLIES 4

andre_vdveen
DynaMight Champion
DynaMight Champion

Hi @Romanenkov_Al3x, the timeframe selector doesn't allow you to set up a date/time in the future, as you likely already know.

However, you could use it like this example, where the date today is 6 March 2023: 2023-03-06 08:00 to now/m, which should give you today 08:00 to the latest timestamp, in my case today 23:20.

andre_vdveen_0-1678137304360.png

Granted, it won't completely satisfy your requirement to have two charts, each showing 08:00-21:00, with one for today and one for yesterday, but it is the closest you'll get to that in my opinion.

HTH,
André

Thanks, I will try. 

DT_NGINX_ALL_WHITELISTED=1

Romanenkov_Al3x
DynaMight Pro
DynaMight Pro

Solution was to work with time-selector:

for work hours = yesterday+8h to yesterday+21h

and then for current time use timeshift - +1d - "now line"

for values that was - 7days ago - (-6d) - "week ago line"

without timeshift - yesterday "line"

Romanenkov_Al3x_1-1681724996611.png

 

 

@andre_vdveen big thanks for tips.

Now we need RFE for dotted lines 🙂

Regards,

Alex Romanenkov

DT_NGINX_ALL_WHITELISTED=1

andre_vdveen
DynaMight Champion
DynaMight Champion

I found this in the documentation and thought it might be helpful to post it here since the timeframe selector was the topic:
Timeframe selector expressions

Featured Posts