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

Cherry-pick #8497 to 6.x: Make logstash module code consistent with other Elastic stack modules #8525

Merged
merged 1 commit into from Oct 3, 2018

Conversation

ycombinator
Copy link
Contributor

Cherry-pick of PR #8497 to 6.x branch. Original message:

This PR makes the Metricbeat logstash module code consistent with other Elastic stack modules by:

  • using FetchContent() instead of FetchJSON() to fetch data from LS APIs before passing it to the event mapping function.
  • adding unit tests.

Further consistency around event reporting and error handling will be achieved in #8308.

…elastic#8497)

This PR makes the Metricbeat `logstash` module code consistent with other Elastic stack modules by:

* using `FetchContent()` instead of `FetchJSON()` to fetch data from LS APIs before passing it to the event mapping function.
* adding unit tests.

Further consistency around event reporting and error handling will be achieved in elastic#8308.

(cherry picked from commit 909d789)

// +build !integration

package node_stats

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't use an underscore in package name

@ycombinator ycombinator merged commit 611574c into elastic:6.x Oct 3, 2018
@ycombinator ycombinator deleted the backport_8497_6.x branch December 25, 2019 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants