Skip to content

Enhance: activating profiling at runtime #711

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

Closed
iltoga opened this issue Mar 30, 2020 · 0 comments · Fixed by #712
Closed

Enhance: activating profiling at runtime #711

iltoga opened this issue Mar 30, 2020 · 0 comments · Fixed by #712
Assignees
Labels

Comments

@iltoga
Copy link
Contributor

iltoga commented Mar 30, 2020

Description

Enable profiling for nodes at runtime as explained here: https://blog.golang.org/pprof

This way we can run deployments were all nodes do profiling profiling while running and export a .prof file that can be later inspected to have better insights when debugging performance issues, such as high cpu loads and memory leaks

Breakdown

  • Add cpu and memory profiling at runtime via flag "cpuprofile"

Expected behavior

When running the go binary with -cpuprofile flag, a .prof file containing profiling informations will be generated.

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

Successfully merging a pull request may close this issue.

1 participant