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

Fix config appender registration #9873

Merged
merged 2 commits into from
Jan 9, 2019
Merged

Conversation

exekias
Copy link
Contributor

@exekias exekias commented Jan 3, 2019

Autodiscover config wasn't regsistered, this change updates the code,
adds integration tests and makes sure that the appender is correctly
registered and working.

closes #9817

@exekias exekias requested a review from a team as a code owner January 3, 2019 17:13
@exekias exekias added needs_backport PR is waiting to be backported to other branches. v6.6.0 v6.7.0 labels Jan 3, 2019
Autodiscover config wasn't regsistered, this change updates the code,
adds integration tests and makes sure that the appender is correctly
registered and working.
@exekias exekias force-pushed the fix-config-appender branch from f0d8229 to ba2e002 Compare January 3, 2019 17:47
@urso
Copy link

urso commented Jan 4, 2019

Unfortunately metricbeat CI failed on some appender related tests:

> ERROR: Test config appenders correctly updates configs

@@ -20,6 +20,8 @@ package config
import (
"fmt"

"github.com/pkg/errors"
Copy link

Choose a reason for hiding this comment

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

Did you mean "errors" or "github.com/pkg/errors". Just asking as I'm seeing this wrong import a lot recently.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

https://github.com/pkg/errors is the one that gives me errors.Wrap, I think this is correct?

@ruflin ruflin added the Team:Integrations Label for the Integrations team label Jan 7, 2019
@exekias exekias self-assigned this Jan 7, 2019
@exekias
Copy link
Contributor Author

exekias commented Jan 7, 2019

good catch! and thank you for the review, I just pushed 4426dae as testing config was wrong

@exekias exekias merged commit 370ecd4 into elastic:master Jan 9, 2019
exekias pushed a commit to exekias/beats that referenced this pull request Jan 9, 2019
exekias added a commit that referenced this pull request Jan 9, 2019
exekias added a commit to exekias/beats that referenced this pull request Jan 9, 2019
* Fix config appender registration

Autodiscover config wasn't regsistered, this change updates the code,
adds integration tests and makes sure that the appender is correctly
registered and working.

* Add missing appender type in tests

(cherry picked from commit 370ecd4)
exekias added a commit to exekias/beats that referenced this pull request Jan 9, 2019
@exekias exekias removed the needs_backport PR is waiting to be backported to other branches. label Jan 9, 2019
exekias added a commit to exekias/beats that referenced this pull request Jan 9, 2019
* Fix config appender registration

Autodiscover config wasn't regsistered, this change updates the code,
adds integration tests and makes sure that the appender is correctly
registered and working.

* Add missing appender type in tests

(cherry picked from commit 370ecd4)
exekias added a commit to exekias/beats that referenced this pull request Jan 9, 2019
@exekias exekias added the v6.5.5 label Jan 9, 2019
@urso
Copy link

urso commented Jan 9, 2019

Please backport to 6.6 branch as well.

exekias added a commit that referenced this pull request Jan 10, 2019
* Fix config appender registration (#9873)

* Fix config appender registration

Autodiscover config wasn't regsistered, this change updates the code,
adds integration tests and makes sure that the appender is correctly
registered and working.

* Add missing appender type in tests

(cherry picked from commit 370ecd4)

* Add changelog for #9873 (#9961)

(cherry picked from commit d036f26)
exekias added a commit to exekias/beats that referenced this pull request Jan 18, 2019
* Fix config appender registration

Autodiscover config wasn't regsistered, this change updates the code,
adds integration tests and makes sure that the appender is correctly
registered and working.

* Add missing appender type in tests

(cherry picked from commit 370ecd4)
exekias added a commit to exekias/beats that referenced this pull request Jan 18, 2019
exekias added a commit that referenced this pull request Jan 18, 2019
* Fix config appender registration (#9873)

* Fix config appender registration

Autodiscover config wasn't regsistered, this change updates the code,
adds integration tests and makes sure that the appender is correctly
registered and working.

* Add missing appender type in tests

(cherry picked from commit 370ecd4)

* Add changelog for #9873 (#9961)

(cherry picked from commit d036f26)

* make update
exekias added a commit that referenced this pull request Jan 23, 2019
* Fix config appender registration (#9873)

* Fix config appender registration

Autodiscover config wasn't regsistered, this change updates the code,
adds integration tests and makes sure that the appender is correctly
registered and working.

* Add missing appender type in tests

(cherry picked from commit 370ecd4)

* Add changelog for #9873 (#9961)

(cherry picked from commit d036f26)
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
…astic#10181)

* Fix config appender registration (elastic#9873)

* Fix config appender registration

Autodiscover config wasn't regsistered, this change updates the code,
adds integration tests and makes sure that the appender is correctly
registered and working.

* Add missing appender type in tests

(cherry picked from commit 662082a)

* Add changelog for elastic#9873 (elastic#9961)

(cherry picked from commit 23bddef)
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
…astic#9966)

* Fix config appender registration (elastic#9873)

* Fix config appender registration

Autodiscover config wasn't regsistered, this change updates the code,
adds integration tests and makes sure that the appender is correctly
registered and working.

* Add missing appender type in tests

(cherry picked from commit 662082a)

* Add changelog for elastic#9873 (elastic#9961)

(cherry picked from commit 23bddef)

* make update
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.

Filebeat autodiscoverkubernetes appender error bug
3 participants