#2985 [Core feature] : Support disabling profiler
Issue created by
fredrickprashanth
### Motivation: Why do you think this is important?
Currently pprof is enabled by default on all golang components flytepropeller, flyte-pod-webhook etc.
Profiler should be default disabled.
Please add an option in the config to enable/disable the profiler.
It should be allowed to enable only via config option as it serves mainly developement.
### Goal: What should the final outcome look like, ideally?
Golang pprof is not enabled by default on the flyte components.
### Describe alternatives you've considered
There is no current alternative to disable profiler.
### Propose: Link/Inline OR Additional context
Example
Propeller profiler config
Provide a config field to disable the profiler.
### Are you sure this issue hasn't been raised already?
• Yes
### Have you read the Code of Conduct?
• Yes
flyteorg/flyte