pyroscope-java
pyroscope-java copied to clipboard
Including pyroscope java agent cause app to not run.
My app is running on Java 17, and when I include the pyroscope java agent it fails to start with only the following logs:
2022-09-03 22:03:39.792 [WARN] PYROSCOPE_SERVER_ADDRESS is not defined, using http://localhost:4040
2022-09-03 22:03:40.328 [DEBUG] Uploading started
2022-09-03 22:03:40.330 [DEBUG] Config Config{applicationName='gobblin.new', profilingInterval=PT0.01S, profilingEvent=ITIMER, profilingAlloc='', profilingLock='', uploadInterval=PT10S, logLevel=DEBUG, serverAddress='http://localhost:4040', authToken='null', timeseriesName='gobblin.new.itimer', format=COLLAPSED, pushQueueCapacity=32}
2022-09-03 22:03:40.334 [INFO] Profiling started
Then the app ends.
Which jvm do you use specifically? Docker? Does it happen with hello-world? What does your app does? What dependencies do you have? How can I reproduce? Did you try to start agent like this https://pyroscope.io/docs/java/#start-pyroscope-from-apps-java-code?
I've just tried to profile corretto-17.0.4 and temurin-17.0.4 and everything seem to work
I'd appreciate any bits to help me reproduce the issue.