Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"resolution is too fine for metric" - when pulling array_total_capacity metric #3

Open
tonyforrest opened this issue Nov 14, 2019 · 0 comments
Assignees
Labels
will investigate Not sure if it is a bug or an enhancement or improper use. Will investigate.

Comments

@tonyforrest
Copy link

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.

@codyhosterman codyhosterman self-assigned this Nov 14, 2019
@codyhosterman codyhosterman added the will investigate Not sure if it is a bug or an enhancement or improper use. Will investigate. label Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
will investigate Not sure if it is a bug or an enhancement or improper use. Will investigate.
Projects
None yet
Development

No branches or pull requests

2 participants