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

i would like to have the ability to disable the pprof endpoint #20764

Closed
russorat opened this issue Feb 16, 2021 · 0 comments · Fixed by #20827
Closed

i would like to have the ability to disable the pprof endpoint #20764

russorat opened this issue Feb 16, 2021 · 0 comments · Fixed by #20827
Assignees

Comments

@russorat
Copy link
Contributor

in 1.x, we had the following config options for controlling when the pprof endpoint was enabled:

  pprof-enabled = true
  pprof-auth-enabled = false
  debug-pprof-enabled = false

I'm not sure what the difference is between pprof-enabled and debug-pprof-enabled since there is no /pprof endpoint and only pprof-enabled seemed to have any effect.

As an oss user, i would like a config option to disable /debug/pprof in the latest influxdb. we can use the same name as pprof-enabled: true as the default. When set to false, /debug/pprof path should return a 404 and the profiles should not be generated.

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

Successfully merging a pull request may close this issue.

2 participants