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

Stuck while trying to create the session #190

Open
fallard84 opened this issue Jan 9, 2025 · 2 comments
Open

Stuck while trying to create the session #190

fallard84 opened this issue Jan 9, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@fallard84
Copy link

Describe the bug you encountered:

When deploying my python app on Heroku, no profile is being sent to the Pyroscope server. The same implementation works fine when running locally with the same version of pyroscope and python.

When enabling the logs, I can only see the following every 10secs, without any error or warning:

Pyroscope::Session          > Creating Session`

What did you expect to happen instead?

Profiles should be generated and sent to the Pyroscope server.

How did you install pyroscope-rs?

Pyroscope-rs is installed through the python package:

poetry add pyroscope-io

pyroscope-rs version and environment

Latest version of pyroscope-io is installed (0.8.8) with python 3.12.6.

@fallard84 fallard84 added the bug Something isn't working label Jan 9, 2025
@fallard84
Copy link
Author

Apparently Heroku blocks ptrace(), which from what I understand is required by py_spy. So this is not a problem with this project.

@korniltsev
Copy link
Collaborator

I would argue it is a problem. It should be possible to profile apps without ptrace and I would say it should be the default mode. Therefore reopening. Not planning to work on this any time soon, but it should happen some time

@korniltsev korniltsev reopened this Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants