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

API response data is not consistent with the UI


Hi everyone,

I encountered one problem: It's regarding the monitor response timestamp is not consistent with the monitor actual execution time.

Monitor url: https://{environmentid};webcheckId=SYNTHETIC_TEST-5A94A13245AB6F4E;actionType=Load;event=SYNTHETIC_TEST_STEP-44E613EA9274FA08;splitting=metric;analysisTf=custom1679977606244to1679984806244;mode=performance;analysisActionType=Load;filterEvent=SYNTHETIC_TEST_STEP-44E613EA9274FA08;gtf=-6h 

My requirement is that I want to search the duration and its specific execution time of this monitor from 2023-3-20 00:00:00 to 2023-3-20 23:59:59

But the actual timestamp is not consistent with the API response timestamp





DynaMight Legend
DynaMight Legend

Synthetics can be a bit tricky but its important to note several things: 

- API time is in UTC and not in Your timezone

- UI Data is in your timezone 

- Synthetics run in a staggered fashion - 1 at a time dependent on frequency and locations. Example: I have synthetics run every 1 min from 2 locations. When 8am hits, Synthetics will not trigger both locations at the same time, Rather the frequency (1 Min) is divided by the number of locations (2) = Time each location runs.... so 1 / 2 = 0.5 Which is every 30 seconds a location runs. Now Dynatrace will not show you seconds in the UI, rather its rounded up/down, but it will be depicted accurate in the API



Featured Posts