Skip to content

[Metricbeat] Move mongodb.status metricset to ECS#10368

Merged
ruflin merged 5 commits intoelastic:masterfrom
ruflin:mongodb-status-ecs
Jan 29, 2019
Merged

[Metricbeat] Move mongodb.status metricset to ECS#10368
ruflin merged 5 commits intoelastic:masterfrom
ruflin:mongodb-status-ecs

Conversation

@ruflin
Copy link
Copy Markdown
Contributor

@ruflin ruflin commented Jan 28, 2019

Only field changed for now is service.version.

The metricset was also changed to use the reporter interface.

@ruflin ruflin added in progress Pull request is currently in progress. module review Metricbeat Metricbeat ecs Team:Integrations Label for the Integrations team labels Jan 28, 2019
@ruflin ruflin self-assigned this Jan 28, 2019
@ruflin ruflin requested a review from a team as a code owner January 28, 2019 12:52
@ruflin
Copy link
Copy Markdown
Contributor Author

ruflin commented Jan 28, 2019

@webmat For now I didn't touch anything around process.

@ruflin ruflin mentioned this pull request Jan 28, 2019
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.

Code looks good. I'm just wondering why it has detected a full change in data.json when it has actually only removed 2 lines (it passed from 209 to 207 lines). Also the timestamp looks unmodified. Is it ok?

@ruflin
Copy link
Copy Markdown
Contributor Author

ruflin commented Jan 28, 2019

Copy link
Copy Markdown
Contributor

@webmat webmat left a comment

Choose a reason for hiding this comment

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

Seems like some copy/pasta lead to the mongodb module trying to grab stuff from haproxy.* in the events. This probably has to change, right? ;-)

I think keeping the .process custom field is superfluous (more on that below), but I don't feel too strongly about it either way.

So apart from the first point, this looks good 👍

@ruflin ruflin requested a review from a team as a code owner January 29, 2019 07:53
Only field changed for now is service.version.

The metricset was also changed to use the reporter interface.
@ruflin ruflin force-pushed the mongodb-status-ecs branch from 2fad96c to c2e3997 Compare January 29, 2019 07:54
@ruflin
Copy link
Copy Markdown
Contributor Author

ruflin commented Jan 29, 2019

Ready for another round of reviews.

@ruflin ruflin removed the in progress Pull request is currently in progress. label Jan 29, 2019
@ruflin ruflin merged commit e9fe7ed into elastic:master Jan 29, 2019
@ruflin ruflin deleted the mongodb-status-ecs branch January 29, 2019 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ecs Metricbeat Metricbeat module review Team:Integrations Label for the Integrations team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants