-
Notifications
You must be signed in to change notification settings - Fork 143
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
Elastic Agent is not attempting to restart APM Server #4801
Comments
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
Seeing the reproduction attached to the use of |
I think this has two related issues: The main one is #2177 which needs to be solved to allow passing in |
Thanks for the investigation, @blakerouse. Let's put this issue on hold for now as it depends on #2177 and work on #2177 first instead. Accordingly, I've brought #2177 into the current sprint and moved this issue into the next one. If #2177 turns out to be a somewhat quick fix, we can consider bringing this issue back into the current sprint. |
I was able to reproduce this issue on 8.15. The issue is that once a source map is uploaded, Kibana creates a new policy revision with the follow in it:
See the |
Thanks @blakerouse for the investigation.
This appears to be elastic/kibana#188377. cc: @kpollich |
With elastic/kibana#188377 resolved, I'm now closing this issue as well. |
We observed that the Elastic Agent is not aiming to restart the APM Server when the server stops, due to a sourcemap issue. There is a dedicated bug issue filed to avoid the APM Server being stopped in the first place elastic/kibana#149660 (comment)). However, this also uncovered that the Elastic Agent does not attempt to restart the APM Server, which is confirmed by @ycombinator as unexpected behaviour. We would expect the Agent to try restarting the APM Server.
If possible, it would also be helpful if Elastic Agent logs contained information about subprocess uptime to help with investigations of failures.
8.12
and8.13
, might also be available in other versionsThis is easily reproducible in ESS for everyone; following the steps in [APM] Uploading a source map with
${foo}
in the service_version param prevents APM Server from working kibana#149660 (comment)Logs:
The text was updated successfully, but these errors were encountered: