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

Expose pprof http endpoints #550

Closed
anjmao opened this issue Nov 21, 2022 · 0 comments · Fixed by #551
Closed

Expose pprof http endpoints #550

anjmao opened this issue Nov 21, 2022 · 0 comments · Fixed by #551

Comments

@anjmao
Copy link
Contributor

anjmao commented Nov 21, 2022

Currently tetragon only allows to create cpu and memory profiles to files. Tools like Grafana Phlare scrapes profiles via http.

We could add config variable pprof-addr and expose pprof via http if it's set.

@anjmao anjmao changed the title Expose pprof endpoint Expose pprof endpoints Nov 21, 2022
@anjmao anjmao changed the title Expose pprof endpoints Expose pprof http endpoints Nov 21, 2022
anjmao added a commit to anjmao/tetragon that referenced this issue Nov 28, 2022
This PR adds support for pprof http endpoints.

Fixes: cilium#550

Signed-off-by: Andzej Maciusovic <andzej.maciusovic@gmail.com>
kkourt pushed a commit that referenced this issue Nov 29, 2022
This PR adds support for pprof http endpoints.

Fixes: #550

Signed-off-by: Andzej Maciusovic <andzej.maciusovic@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant