opentelemetry-java-contrib icon indicating copy to clipboard operation
opentelemetry-java-contrib copied to clipboard

Runtime agent attach on Windows is very slow when debugging

Open Trass3r opened this issue 1 year ago • 3 comments

https://github.com/open-telemetry/opentelemetry-java-contrib/blob/4eb047394f008889f7b2a0ada96677f46102576c/runtime-attach/runtime-attach-core/src/main/java/io/opentelemetry/contrib/attach/core/AgentFileProvider.java#L57 This line takes forever in my SpringBootApplication when in debug mode, it's fine when running normally. GraalVM 17.0.12

https://github.com/microsoft/ApplicationInsights-Java/blob/aee3513604c5b56a23acdceabf97aa0f31064dd2/agent/runtime-attach/src/main/java/com/microsoft/applicationinsights/attach/ApplicationInsights.java#L63

Has anyone else experienced this?

Trass3r avatar Aug 28 '24 14:08 Trass3r