Pyroscope Agent records and aggregates what your application has been doing, then sends that data over to the Pyroscope Server.
Pyroscope Agent may be run interactively and as a service:
pyroscope execspawns a new process and attaches configured profiler. Once
pyroscope execexits, the child process exits as well and vice-versa. This command may be used for testing, as a docker entrypoint, or as a systemd service unit command.
pyroscope connectattaches profiler to already running process specified by PID or operating system, if applicable (for example,
pyroscope agentcontinuously tracks configured
targetsand attaches profilers to them. This command is primarily supposed to be run in the context of a service manager such as systemd or Windows Service Control Manager.
Refer to Configuration page to learn more about each mode and how to configure Pyroscop Agent.