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

Pprof endpoint is not created for postgresql databases even when HTTP_LISTEN and HTTP_EXPOSE_PPROF are set #1545

Open
waffleboot opened this issue Sep 1, 2023 · 0 comments

Comments

@waffleboot
Copy link

Database name

postgresql

Issue description

Describe your problem

wal-g doesn't open PPROF endpoint for postgresql databases

Please provide steps to reproduce

I run backup-list command because wal-g is stuck without any log messages and I want to know why. So I point http address for PPROF and enable it by switching on HTTP_EXPOSE_PPROF flag.

$ HTTP_EXPOSE_PPROF=true HTTP_LISTEN=0.0.0.0:9090 wal-g --config /etc/postgresql/walg.json backup-list

Then I try to open localhost:9090/debug/pprof but it doesn't work: I see UNABLE TO CONNECT in browser.

Because pprof is not opened for postgresql.

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

No branches or pull requests

1 participant