we'd like to know which timeframe we should set corresponding to specific data resolution.
For example, I know I can get timeseries data for 1-min resolution if I call some timeseries API with "relativeTime=hour".
As this shows, when "relativeTime" is set as "hour", the resolution is 1 min.
In another sample, we can get 10-min resolution if we choose "day" for "relativeTime".
Thus, timeframe parameter(relativeTime/startTimestamp&endTimestamp) automatically determines data resolution.
Here, we would like to know, which timeframe we choose, which data retention we get.
Is there something like a table showing their correspondence?
Example like this:
Solved! Go to Solution.
I didn't find any data about this. I think this is because each metrics can have different resolution in the same timeframe. So there should be such table for each of them or at least for groups. I think this is why you have field resolutionInMillisUTC in response which tells you about what you get.
I have do some tests for my needeed.
In order to have the most granularity on your data points (1 minute resolution) you have to request your API with a time frame less than 2 hours.
If you do that the resolutions are the followings :
datapoints < 14days, resolution = 1 minute ("resolutionInMillisUTC":
14 days < datapoints < 1 month, resolution = 5 minutes ("resolutionInMillisUTC":
datapoints> 1 month, resolution = 1 Hour ("resolutionInMillisUTC": 3600000)
When your request the API with another timeframe (for datapoints < 14 days) :
Last hour :"resolutionInMillisUTC":
60000, (1 minute)
Last 2 hours :"resolutionInMillisUTC": 60000, (1
Last 3 hours :"resolutionInMillisUTC": 120000,(2 minutes)
Last 6 hours :"resolutionInMillisUTC": 180000,(3 minutes)
Last day :"resolutionInMillisUTC": 600000,(10 minutes)
I hope it will help some of you.