-
Notifications
You must be signed in to change notification settings - Fork 60
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
Add the :all flag for metrics collection #176
Conversation
Checked commit https://github.com/djberg96/manageiq-providers-azure/commit/d76c8cc78c45a299580b54e4fcfb58a5d9eaca7b with ruby 2.3.3, rubocop 0.47.1, haml-lint 0.20.0, and yamllint 1.10.0 app/models/manageiq/providers/azure/cloud_manager/metrics_capture.rb
|
Think the description needs to refer to metrics, not events. |
@bronaghs Updated. |
@djberg96 - Will this just get the first page of metrics? |
@bronaghs not sure what you mean by the first page. At the moment, the results are capped at 1000 records for the request. By using |
Add the :all flag for events collection (cherry picked from commit d8f8fa5)
Gaprindashvili backport details:
|
This addresses a TODO that was mentioned in the metrics collection code. At the moment we collect a maximum of 1000 records at a time. While it's unlikely that there are more than 1000 records in the given time window that we specify, it is possible.
The original issue mentioned was addressed in version 0.9.2 of the azure-armrest gem.