I am trying to get the max value of metric data point using API for last 1 hour. I want the exact timestamp returned in response. But I am always getting the timestamp as to value I framed in query. In the below example I am getting timestamp as 2022-10-11T10:00:00.
Please help me to overcome this problem
Solved! Go to Solution.
The finest resolution that Dynatrace is able to provide is 1 minute. You will not be able to get the exact timestamp in seconds, milliseconds, etc.; because Dynatrace does not store it.
If minute resolution is good enough for you, you can request it by using the resolution parameter: https://www.dynatrace.com/support/help/shortlink/api-metrics-v2-get-datapoints#parameters