Design collection agent strategy
The project currently only has a makeshift -target=agent included: It can be used to scrape profiles from Go's pprof endpoint and then to be forwarded into the distributor.
This ticket is about designing an approach and consider various options forward:
- Support other collection agents like https://github.com/parca-dev/parca-agent and https://pyroscope.io/docs/ebpf/.
- Support profile collection in grafana agent (cc @tpaschalis)
- Iterating on this project agent target
Related to #290
@rfratto I think we should may be start the work to include the agent module from this project in Grafana Agent as a beta feature if possible. WDYT ?
I'm interested, though is it going to be hard to pull that off while this repo is still private?
Right can we may be create a private fork on Grafana Agent ?
Yes :) We already have grafana/agent-private, but it's not really set up for development yet. We'll probably want to hook it up to CI before we do anything, but that shouldn't be too much of an issue.