Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage confusion #338

Closed
yquansah opened this issue Oct 20, 2021 · 4 comments
Closed

Usage confusion #338

yquansah opened this issue Oct 20, 2021 · 4 comments
Labels
documentation question Further information is requested

Comments

@yquansah
Copy link

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.)

@kakkoyun
Copy link
Member

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.

@brancz
Copy link
Member

brancz commented Nov 1, 2021

@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?

@kakkoyun kakkoyun added documentation question Further information is requested labels Feb 24, 2022
@benmathews
Copy link

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.

@kakkoyun
Copy link
Member

kakkoyun commented Jun 7, 2022

@benmathews Thanks for the suggestion, I have added and issue for it now parca-dev/docs#137

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants