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

Profiling configuration not working #110

Closed
mvkrishna86 opened this issue Aug 29, 2023 · 5 comments
Closed

Profiling configuration not working #110

mvkrishna86 opened this issue Aug 29, 2023 · 5 comments

Comments

@mvkrishna86
Copy link

mvkrishna86 commented Aug 29, 2023

I am using the below configuration,

PYROSCOPE_APPLICATION_NAME=PetClinic
PYROSCOPE_LOG_LEVEL=debug
PYROSCOPE_SERVER_ADDRESS=https://pyroscope.XXXXX.click

java -javaagent:/home/vamsi/pyroscope.jar -jar spring-petclinic-3.1.0-SNAPSHOT.jar

Getting the below error:

2023-08-29 16:35:57.262 [ERROR] Error starting profiler java.lang.IllegalStateException: java.lang.IllegalStateException: ITIMER_PROF is not supported on this system

When I set PYROSCOPE_FORMAT to jrf or set PYROSCOPE_PROFILER_EVENT to anything other than itimer, I am getting below error:

2023-08-29 16:34:26.580 [ERROR] Error uploading snapshot: 404
2023-08-29 16:34:26.581 [DEBUG] Backing off for 1382 ms
2023-08-29 16:34:27.967 [DEBUG] Upload attempt 3. collapsed: 983625
2023-08-29 16:34:28.102 [ERROR] Error uploading snapshot: 404

Can someone please help?

@Rperry2174
Copy link

hi @mvkrishna86 can you tell use more information about your environment that this is running on ?

@mvkrishna86
Copy link
Author

OS: Ubuntu 22.04.1
Java: openjdk version "17.0.8"

vamsi@NHHYDL-02026:~/spring-petclinic/target$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy

vamsi@NHHYDL-02026:~/spring-petclinic/target$ java -version
openjdk version "17.0.8" 2023-07-18
OpenJDK Runtime Environment (build 17.0.8+7-Ubuntu-122.04)
OpenJDK 64-Bit Server VM (build 17.0.8+7-Ubuntu-122.04, mixed mode, sharing)

@mvkrishna86
Copy link
Author

@Rperry2174 , any idea what is wrong here?
I am using latest pyroscope jar. Tried in multiple environments, still getting 404 error.

@korniltsev
Copy link
Collaborator

@mvkrishna86 is it working now?

@mvkrishna86
Copy link
Author

Yes. It's working fine now.

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

3 participants