-
Notifications
You must be signed in to change notification settings - Fork 35
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
Implement FetchAllHostsMetrics for SignalFx using new API #25
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left two comments
Signed-off-by: Abdul Qadeer <[email protected]>
Fix bug in result set size Average returned values for metrics per window size Signed-off-by: Abdul Qadeer <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
// Find the average across returned values per 1 minute resolution | ||
var sum float64 | ||
var count float64 | ||
for _, value := range values { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For testing, we may want to break this arithmetic mean calculation into its own function but not a blocker for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure will do it in future PR when I add tests #26
Signed-off-by: Abdul Qadeer [email protected]
This resolves #24