-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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
(cloudwatch) support high resolution query #10925
Conversation
999eaf7
to
18c54a9
Compare
I want to more good option name. "highResolution" is not good... |
Codecov Report
@@ Coverage Diff @@
## master #10925 +/- ##
==========================================
- Coverage 51.47% 51.45% -0.03%
==========================================
Files 343 343
Lines 24244 24258 +14
Branches 1417 1417
==========================================
+ Hits 12480 12482 +2
- Misses 11069 11081 +12
Partials 695 695 |
LGTM, regarding name I also cannot come up with a good name for the setting. |
@mtanda also thanks for looking into this I tried it locally but ran out of time |
pkg/tsdb/cloudwatch/cloudwatch.go
Outdated
@@ -274,6 +293,11 @@ func parseQuery(model *simplejson.Json) (*CloudWatchQuery, error) { | |||
alias = "{{metric}}_{{stat}}" | |||
} | |||
|
|||
highResolution, err := model.Get("highResolution").Bool() |
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.
When I test this PR I get an error.
This should be .MustBool(false)
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.
Thanks for check!
Fix it.
Awesome! :) Great work |
Thanks!! |
I can't find info in the docs about the "HighRes" checkbox. What does it actually do? |
Fix #9246
@igorleao
@mauve