Pyroscope uses py-spy to collect profiling data.
Profiling Python application
- Linux / macOS
To start profiling a Python application, add
pyroscope exec before the command:
You can also attach pyroscope to already running process using
Refer to Configuration page to learn more about Pyroscop Agent and how to configure it.