parca icon indicating copy to clipboard operation
parca copied to clipboard

Usage confusion

Open yquansah opened this issue 3 years ago • 4 comments

So it looks like by default, Parca scrapes from it's own pprof endpoints. Does this mean if I want continuous profiling of another application, that I would have to point towards the pprof endpoints on the separate application in the parca.yaml?

(Sorry if this is an obvious answer, as it was a bit non-obvious in the documentation.)

yquansah avatar Oct 20 '21 01:10 yquansah

Hello @yquansah, thanks for reaching out.

There are two ways to do this: the first one is using a pull-based approach, as you already described; and the second one is to use the parca-agent to push profiles from an installed machine. So if you want to use a pull-based approach you need to add a scrape config for your application.

https://www.parca.dev/docs/ingestion

Please let us know how we can improve our documentation.

kakkoyun avatar Oct 20 '21 06:10 kakkoyun

@yquansah do you have a suggestion of what we could do to make this clearer in our documentation? Maybe we should call this out more explicitly elsewhere?

brancz avatar Nov 01 '21 15:11 brancz

There isn't any documentation of the config file and only one example. I assume that I could add a scrape configuration based on label. I don't know how though.

benmathews avatar Jun 03 '22 15:06 benmathews

@benmathews Thanks for the suggestion, I have added and issue for it now https://github.com/parca-dev/docs/issues/137

kakkoyun avatar Jun 07 '22 07:06 kakkoyun