-
Notifications
You must be signed in to change notification settings - Fork 525
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
[fleet] Bundle the java agent attacher #4824
Comments
@felixbarny and @jalvz let's figure out the details how we want to bundle this so we can work on it for 7.14. |
@felixbarny can you provide details from where the java agent attacher can be pulled when bundling?
@jalvz maybe I am misunderstandind, but I'd like to avoid adding any manual steps. The java agent attacher should be part of the packaging process, used in the release process. |
The attacher lives in the java agent repo: https://github.com/elastic/apm-agent-java/tree/master/apm-agent-attach Maybe just copying it to some folder in apm-server is enough for start, wdyt? But we need to get "notified" if there are important (or breaking) changes in the attacher that need to be aware of... |
Two options: you can either download the attacher from maven central, or we just commit the attacher binaries to the APM Server GitHub repo. |
Updating manually sounds fine to me. I'd prefer not to commit the jar to the repo. We could instead inject them into the packages, fetching them at package build time: Line 372 in 6754818
WDYT @stuartnelson3? |
That sounds fine to me, then we just update the fetch url in the magefile |
closed in #6593 |
We can do it manually or automate as part of the build / package process.
As we don't expect that the attacher will be updated often, it is probably easier do it manually. The attacher won't necessarily follow stack versioning.
See elastic/apm-agent-java#1667
The text was updated successfully, but these errors were encountered: