I'm getting the error "resolution is too fine for metric", when pulling array_total_capacity metric with a start time of 24hrs ago and a granularity of 1hr.
Get-PureOneMetric -objectname -metricname array_total_capacity -startTime ((get-date).adddays(-1)) -granularity 3600000
Returns the following error
Invoke-RestMethod : {"errors":[{"message":"Invalid metric availability","context":"resolution is too fine for metric
array_total_capacity"}]}
Sorry if this is a noob question, but I would expect this to return 24 data points. Where am I going wrong please.