Add azure storage metricset#15342
Merged
narph merged 18 commits intoelastic:masterfrom Jan 13, 2020
Merged
Conversation
houndci-bot
reviewed
Jan 6, 2020
houndci-bot
reviewed
Jan 6, 2020
houndci-bot
reviewed
Jan 7, 2020
houndci-bot
reviewed
Jan 7, 2020
ChrsMark
reviewed
Jan 13, 2020
| for i, metric := range client.Resources.Metrics { | ||
| for _, metric := range metrics { | ||
| // select period to collect metrics, will double the interval value in order to retrieve any missing values | ||
| //if timegrain is larger than intervalx2 then interval will be assigned the timegrain value |
Member
There was a problem hiding this comment.
Just a suggestion here: wouldn't it be better to be calculated in a different helping method? :)
ChrsMark
reviewed
Jan 13, 2020
ChrsMark
reviewed
Jan 13, 2020
kaiyan-sheng
approved these changes
Jan 13, 2020
Contributor
kaiyan-sheng
left a comment
There was a problem hiding this comment.
Overall, data.json and the code looks good to me. But I haven't tested this PR locally.
Contributor
Author
thanks for the review, the PR will be in the test plan. |
narph
added a commit
to narph/beats
that referenced
this pull request
Jan 13, 2020
* create metricset * work in prog * Work on metricset * Add serviceType config option * Fix tests * Add func to retrieve on all dimensions * work on different intervals * revert custom event format * work on reducing api calls * fix fields and dashboards, work on reducing amount of api calls * Add json example * refactor * refactor * fix tests * fix tests * feedback (cherry picked from commit ad8c503)
narph
added a commit
that referenced
this pull request
Jan 14, 2020
* Add azure storage metricset (#15342) * create metricset * work in prog * Work on metricset * Add serviceType config option * Fix tests * Add func to retrieve on all dimensions * work on different intervals * revert custom event format * work on reducing api calls * fix fields and dashboards, work on reducing amount of api calls * Add json example * refactor * refactor * fix tests * fix tests * feedback (cherry picked from commit ad8c503) * Fix changelog
This was referenced Jan 21, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Should handle:
#14548
#14549
#14551
#14552
Configuration:
Output:
PR also contains: