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

Add pprof flag to optionally expose pprof data #590

Merged
merged 1 commit into from
Sep 5, 2023

Conversation

andreasgerstmayr
Copy link
Collaborator

Example usage:

update operator deployment, add --pprof-addr=0.0.0.0:6060 argument

kubectl port-forward -n tempo-operator-system deployment/tempo-operator-controller 6060

go install github.com/google/pprof@latest
pprof -http=localhost:8080 localhost:6060/debug/pprof/heap

Resolves: #242

@andreasgerstmayr andreasgerstmayr merged commit e0c7ad4 into grafana:main Sep 5, 2023
11 checks passed
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 this pull request may close these issues.

New flag for exporting pprof data
2 participants