elastic / apm-server

https://www.elastic.co/guide/en/apm/guide/current/index.html
Other
1.21k stars 518 forks source link

Document the java agent attacher functionality [tech preview] #8708

Open simitt opened 2 years ago

simitt commented 2 years ago

The java agent attacher functionality has been reworked and improved to be started under the same user and with the Java installation that the application runs with (with https://github.com/elastic/apm-server/issues/8304).

This feature is in tech preview and not yet documented. The Java agent attacher is customer facing as part of the APM Integration.

The documentation should include:


The general outline how this feature works is the following:

An Elastic Agent is installed on an edge machine, and configured to auto instrument any matching java process, that is running on the same host machine where the Elastic Agent is running.

Note: Java agent auto attachment is NOT supported on the Elastic Cloud agent policy, as it would not be beneficial to users to instrument any java processes on the ingest server cloud installation.

To get started with the feature following steps are required:

Config options and rules

@eyalkoren please provide relevant input on this.

bmorelli25 commented 2 years ago

@eyalkoren are we ready to document this? There are a lot of conversations, issues, and PRs for this one and I'm struggling to follow everything. Should we set up a time to meet and discuss?

eyalkoren commented 2 years ago

Yes @bmorelli25, let's meet, I need to see your lovely smile anyway

eyalkoren commented 2 years ago

@bmorelli25 I don't think we'll have a change to do this synchronously any time soon... Please take a look at my status summary in the tracking issue at the Java agent repo. As long as the mentioned issues remain unresolved, the status would remain the same:

bmorelli25 commented 1 year ago

@AlexanderWert with Eyal out for the foreseeable future, is there anyone else you can recommend to work on this with?