Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Including pyroscope java agent cause app to not run. #65

Open
kadaan opened this issue Sep 4, 2022 · 1 comment
Open

Including pyroscope java agent cause app to not run. #65

kadaan opened this issue Sep 4, 2022 · 1 comment

Comments

@kadaan
Copy link

kadaan commented Sep 4, 2022

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.

@korniltsev
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants