-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Conversation
Autodiscover config wasn't regsistered, this change updates the code, adds integration tests and makes sure that the appender is correctly registered and working.
f0d8229
to
ba2e002
Compare
Unfortunately metricbeat CI failed on some appender related tests:
|
@@ -20,6 +20,8 @@ package config | |||
import ( | |||
"fmt" | |||
|
|||
"github.com/pkg/errors" |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
good catch! and thank you for the review, I just pushed 4426dae as testing config was wrong |
* 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)
(cherry picked from commit d036f26)
* 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)
(cherry picked from commit d036f26)
Please backport to 6.6 branch as well. |
* 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)
* 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)
(cherry picked from commit d036f26)
* 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
* 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)
…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)
…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
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