I've got a Java desktop application which does not rely on any external server - the application can run independently on each users individual machine. (Think of an application like notepad)
I'd like to gather crash data & stack traces from the users of my app.
I've installed an elastic stack on a server & I attached an apm agent to my local debug snapshot of my application, and this successfully gathers and displays my crash-data in my kibana dashboard for my local debug build.
Is there a good way of including the apm-agent on each user installation?
In my developer-snapshot, I'm including the apm-agent.jar using the run param:
However, this makes the application not start if the apm agent isn't found, and ensuring the apm-agent.jar is included in all user installations in a specific folder feels a little unstable, making me wonder if there's another solution I'm supposed to be using?
Thanks in advance for any help & advice.