How to use profilecli to send ebpf profiles of a process to pyroscope server
- Dominant language
- Go
- Stars
- 11.7k
- Forks
- 802
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 80
Description
Hi,
Prior to version 1, I was able to use the following commands to run both the pyroscope server and client/agent to collect and see ebpf profiles of a process
```shell
# Step 1
# Run server
nohup ./pyroscope server --storage-path /tmp/pyro &
# Step 2
# Run agent
sudo env PYROSCOPE_APPLICATION_NAME=app9 ./pyroscope connect --spy-name ebpfspy --pid `pgrep app9`
```
Now the agent is `profilecli` and pyroscope executable doesn't have agent commands, how do I do Step 2 mentioned above?
I have gone through the documentation [here](https://github.com/grafana/pyroscope/tree/main/examples/ebpf) but can't really figure out how to do Step 2?
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue points to examples/ebpf; start there and inspect the current profilecli usage alongside its command help. Reproduce the server from Step 1 and verify the documented agent invocation against a target process. Done means the equivalent of Step 2 is documented clearly for sending eBPF profiles to the Pyroscope server.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- documentation, observability
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100