[!NOTE] Tip
To retrieve historical metrics, leverage the offset modifier.
Using the Offset Modifier
The offset modifier lets you query metric values from a specific duration ago. For example, to fetch the metric value from 5 minutes in the past, you add the offset keyword:- ms for milliseconds
- s for seconds
- m for minutes
- h for hours
- D for days
- W for weeks
- Y for years

Additional Examples with Offset
-
Retrieve data from 5 days ago:
-
Retrieve data from 2 weeks ago: