Slow application start with xray agent
Open
bug
- Dominant language
- Java
- Stars
- 46
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
I recently added aws-xray-java-agent 2.7.1 to an app running Spring boot 2.3.5.
Before I added the agent, startup typically took around 3-4 seconds.
`Started Application in 3.927 seconds (JVM running for 4.282)`
Using aws-xray-java-agent 2.7.1, the startup of my application takes anywhere between 5-10 times longer.
Basically put the disco jars in place and added this line to my gradle.build
```
bootRun {
jvmArgs = ["-javaagent:disco/disco-java-agent.jar=pluginPath=disco/disco-plugins"]
}
```
`Started Application in 21.268 seconds (JVM running for 23.917)`
Does this slowdown seem reasonably, or is something going on with my setup?
Contributor guide
Assessment
This issue has not been assessed yet.