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

Surface config parsing error under EA managed mode (backport #14574) #14807

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Dec 3, 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 December 3, 2024 16:23
@carsonip
Copy link
Member

carsonip commented Dec 3, 2024

@Mergifyio requeue

Copy link
Contributor Author

mergify bot commented Dec 3, 2024

requeue

❌ This pull request head commit has not been previously disembarked from queue.

@carsonip
Copy link
Member

carsonip commented Dec 3, 2024

@Mergifyio queue

Copy link
Contributor Author

mergify bot commented Dec 3, 2024

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at f48eb01

@mergify mergify bot merged commit f48eb01 into 8.17 Dec 3, 2024
12 checks passed
@mergify mergify bot deleted the mergify/bp/8.17/pr-14574 branch December 3, 2024 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant