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

Move light modules to OSS #14369

Merged
merged 9 commits into from
Nov 12, 2019
Merged

Conversation

ChrsMark
Copy link
Member

@ChrsMark ChrsMark commented Nov 1, 2019

Add support for light modules in OSS Metricbeat.

This is a blocker for developing the new metricsets of Kafka to collect JMx metrics. These metricsets will be built on top of Jolokia module as light metricsets.

The problem with this is that Kafka module is in OSS, but light modules are only supported in x-pack metricbeat, this makes it impossible to add this light metricset in a simple way in the OSS module.

@ChrsMark ChrsMark self-assigned this Nov 1, 2019
@ChrsMark ChrsMark added Team:Integrations Label for the Integrations team x-pack Issues and pull requests for X-Pack features. Metricbeat Metricbeat labels Nov 1, 2019
@ChrsMark ChrsMark marked this pull request as ready for review November 7, 2019 21:53
@ChrsMark ChrsMark requested a review from a team as a code owner November 7, 2019 21:53
@ChrsMark
Copy link
Member Author

ChrsMark commented Nov 8, 2019

jenkins, test this again

@ChrsMark ChrsMark changed the title Move lightmodules functionality to OSS Move light modules to OSS Nov 8, 2019
Signed-off-by: chrismark <chrismarkou92@gmail.com>
Signed-off-by: chrismark <chrismarkou92@gmail.com>
Signed-off-by: chrismark <chrismarkou92@gmail.com>
Signed-off-by: chrismark <chrismarkou92@gmail.com>
Signed-off-by: chrismark <chrismarkou92@gmail.com>
metricbeat/beater/metricbeat.go Outdated Show resolved Hide resolved
ChrsMark and others added 2 commits November 12, 2019 00:02
Co-Authored-By: Jaime Soriano Pastor <jaime.soriano@elastic.co>
@@ -34,7 +33,7 @@ var RootCmd *cmd.BeatsRootCmd

var (
rootCreator = beater.Creator(
xpackbeater.WithLightModules(),
beater.WithLightModules(),
beater.WithModuleOptions(
module.WithMetricSetInfo(),
module.WithServiceName(),
Copy link
Member

@jsoriano jsoriano Nov 11, 2019

Choose a reason for hiding this comment

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

Btw, could OSS metricbeat creators be reused here now?

Signed-off-by: chrismark <chrismarkou92@gmail.com>
Signed-off-by: chrismark <chrismarkou92@gmail.com>
@ChrsMark
Copy link
Member Author

ok to test

@ChrsMark ChrsMark merged commit 4d1979b into elastic:master Nov 12, 2019
@zube zube bot removed the [zube]: In Review label Nov 12, 2019
@zube zube bot added the [zube]: Done label Nov 12, 2019
@ChrsMark ChrsMark added the needs_backport PR is waiting to be backported to other branches. label Nov 12, 2019
ChrsMark added a commit to ChrsMark/beats that referenced this pull request Nov 12, 2019
@ChrsMark ChrsMark added v7.6.0 and removed needs_backport PR is waiting to be backported to other branches. labels Nov 12, 2019
ChrsMark added a commit that referenced this pull request Nov 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Metricbeat Metricbeat review Team:Integrations Label for the Integrations team v7.6.0 x-pack Issues and pull requests for X-Pack features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants