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

[8.x] Surface config parsing error under EA managed mode (backport #14574) #14717

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Nov 22, 2024

Motivation/summary

By wrapping reloader errors in a way that EA manager understands (i.e. in a MultiError of UnitError), newRunner initialization errors, including config parsing errors, will be surfaced and logged.

Checklist

- [ ] Update CHANGELOG.asciidoc I expect this to go into 8.17 first, then 8.16, but there may be uncertainty around this. We can add changelog before the release.

  • Documentation has been updated

How to test these changes

Start apm-server in EA managed mode (e.g. on ESS), pass in an invalid integration policy, e.g. setting apm-server.rum.response_headers to a string instead of a list. Check that in fleet UI that EA input unit has failed. Check that an error is logged.

Related issues

Fixes #14560


This is an automatic backport of pull request #14574 done by [Mergify](https://mergify.com).

By wrapping reloader errors in a way that EA manager understands (i.e. in a MultiError of UnitError), newRunner initialization errors, including config parsing errors, will be surfaced and logged.

(cherry picked from commit 1b21d1d)
@mergify mergify bot requested a review from a team as a code owner November 22, 2024 21:08
@mergify mergify bot added the backport label Nov 22, 2024
@mergify mergify bot merged commit f4f0e85 into 8.x Nov 22, 2024
13 checks passed
@mergify mergify bot deleted the mergify/bp/8.x/pr-14574 branch November 22, 2024 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant