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

main.go: Add pprof server #28

Merged
merged 1 commit into from
Feb 2, 2024
Merged

main.go: Add pprof server #28

merged 1 commit into from
Feb 2, 2024

Conversation

tomasbanet
Copy link
Contributor

Start new server at :6060 that serves handlers registered by net/http/pprof for checking goroutines, cpu/mem, etc.

Listener address can be overriden with arg -pprof-addr.

If pprof-addr is empty string (""), no pprof server will be started.

Start new server at :6060 that serves handlers registered by
net/http/pprof for checking goroutines, cpu/mem, etc.

Listener address can be overriden with arg -pprof-addr.

If pprod-addr is empty string (""), no pprof server will be started.
@tsuna tsuna merged commit f827758 into timoha:main Feb 2, 2024
1 check 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.

3 participants