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

Specific UTC in Dynatrace API using relative timeframe

sylvian_lam1
Organizer

Dear All,

I'm using Dynatrace API (Environment API v2) to export Synthetic data as csv files, since I need schedule those reports based on daily, weekly and monthly, so I use relative timeframe instead of a fixed timeframe.

However the csv output returns timestamp seems was not in my timezone.

I use now-1d as requested timeframe and generate the report at 1:00am , but the csv output as 17:00pm.

Is there a way to specific the UTC with "now-1d" parameters?

Thanks.

Sylvian

API_utc_p1.PNGAPI_utc_p2.PNG


2 REPLIES 2

sebastian_kryst
DynaMight Leader
DynaMight Leader

It may be because dynatrace store time in UTC so if you have different time zone, you may get results you need but for DT it will be different time. I don’t see option for putting time zone in relative time. This means that RFE for this may bee need, for now you should recalculate time after each fetch manually I think.

Sebastian


Thx Sebastian. Let me try raise a request.

-Sylvian