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

API method to return profiling data as raw JSON #108

Open
narqo opened this issue Oct 3, 2020 · 0 comments
Open

API method to return profiling data as raw JSON #108

narqo opened this issue Oct 3, 2020 · 0 comments

Comments

@narqo
Copy link
Member

narqo commented Oct 3, 2020

To move forward with web UI #107 profefe needs its querier (part of profefe-collector) to provide a way of getting the profiling data as raw JSON (TBD full profile or samples only?).

Something like /api/0/profiles/<id>?format=json could work as a good start.

As for the JSON schema, it could be a pprof specific, i.e. raw parsed pprof profile (json-marshalled); or something generic, i.e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant