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

Get metric data points by specifying IST time zone

MeetShah
Newcomer

I want to extract last 24hrs data points but the issue is I can get the data points based on UTC time zone I want based in IST which is UTC+05:30

 

5 REPLIES 5

p_devulapalli
Champion

@MeetShah , default would be UTC,  one of the option would be to convert the IST time range to UTC and use it as parameter 

- from and to parameters 

https://docs.dynatrace.com/docs/dynatrace-api/environment-api/metric-v2/get-data-points

 

Phani Devulapalli

I tried this but It didn't work out

I have tried something like this 
https://{environmentid}.live.dynatrace.com/api/v2/metrics/query?metricSelector=builtin:apps.other.ua...(""Apdex category""):value:sort(value(sum,descending)) & from=2024-10-28T01:00:00 + 05:30

@MeetShah , what was the output when you executed the above query ?

Phani Devulapalli

Hey I understood my mistake of time conversion. so this issue is resolved.
But I had a quick question.
These url will pull all the data? Or do i need to apply some pagination logic ?

 

Featured Posts