Get metrics

Returns historical metrics data, for a specific subject (device or service) over a specific time range. Wildcards are supported with metric names, allowing you to query multiple metrics with a simple request.


Note that data is stored in a particular retention policy which will return minute and hourly data points depending on the time range. If the query ranges over 1 day, hourly data points will be returned, otherwise you will get a data point for every minute. The 1 minute data points are only stored for the last 5 days.