Skip to content

[Metricbeat] Migrate heap to reporterV2 interface #11074

Merged
fearful-symmetry merged 3 commits intoelastic:masterfrom
fearful-symmetry:migration/mb/reporterv2/golang/heap
Mar 5, 2019
Merged

[Metricbeat] Migrate heap to reporterV2 interface #11074
fearful-symmetry merged 3 commits intoelastic:masterfrom
fearful-symmetry:migration/mb/reporterv2/golang/heap

Conversation

@fearful-symmetry
Copy link
Copy Markdown
Contributor

@fearful-symmetry fearful-symmetry commented Mar 4, 2019

See #10774

My first PR here! Feel free to tell me if I did anything egregious.

It looks like there's no 'standard' way for different metricsets to use their own eventMapping() so I just stuck to things I saw others doing. It looks like the golang module was one of the few that didn't have a dedicated data.go for processing, so I did that as well.

I'd also like to add a unit test to eventMapping() here, since it has a fair bit of logic and that's just something I would normally do, but I think that should be its own PR.

@fearful-symmetry fearful-symmetry added Metricbeat Metricbeat Team:Integrations Label for the Integrations team labels Mar 4, 2019
@fearful-symmetry fearful-symmetry requested a review from sayden March 4, 2019 23:36
@fearful-symmetry fearful-symmetry requested a review from a team as a code owner March 4, 2019 23:36
@sayden
Copy link
Copy Markdown
Contributor

sayden commented Mar 5, 2019

jenkins, test this

Copy link
Copy Markdown
Contributor

@sayden sayden left a comment

Choose a reason for hiding this comment

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

LGTM. Let's wait to for the blessings of Jenkins

@fearful-symmetry fearful-symmetry merged commit 0a858b5 into elastic:master Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Metricbeat Metricbeat Team:Integrations Label for the Integrations team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants