I'm using the Monitor REST API in order to retrieve data from various resources, e.g. for the Storage Accounts.
Following metrics are available as described here
Based on the metric definitions, e.g. the metric Availability supports a 1 minute interval. This would mean that aggregated data points should be available for every 1 minute. If i perform a query to retrieve the availability with Timespan 1minute, Interval 1 minute, i get a valid response with status "success" but the resturned timeseries points do not always have a valid data point next to the timestamp value. When increasing the timespan the behaviour is similar, sometimes having 1 point with data but most empty.
Increasing the Interval to 15minutes seems to improve the situation but its not reliable yet to always have a datapoint.
This behaviour seems to be happening for other metrics as well and same result can be seen when using the Azure monitor app itself to view a graph.
Several gaphs occur in the line which correspond to empty datapoints. To have a consistent result, interval should be set to 1H.
How can this behaviour be explained , is there anything that can be done in order to be able to use small granularity?