-
Notifications
You must be signed in to change notification settings - Fork 102
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
cmd: don't bind debug endpoints by default #2808
Conversation
Separate Prometheus from pprof/QBFT HTTP endpoint, and let user configure the listening address for them. Added the `--debug-addr` CLI argument, so that user can specify the IP/port combo that suite them better. If no `--debug-addr` is specified, don't bind debug endpoints.
|
Needs a corresponding PR here: https://github.com/ObolNetwork/obol-docs/blob/main/docs/charon/charon-cli-reference.md#the-run-subcommand |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will need to update our core team cluster and CDVN in line with this change.
@@ -139,6 +139,7 @@ Usage: | |||
Flags: | |||
--beacon-node-endpoints strings Comma separated list of one or more beacon node endpoint URLs. | |||
--builder-api Enables the builder api. Will only produce builder blocks. Builder API must also be enabled on the validator client. Beacon node must be connected to a builder-relay to access the builder network. | |||
--debug-address string Listening address (ip and port) for the pprof and QBFT debug API. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Worth to mention it is disabled by default.
ObolNetwork/obol-docs#299 docs PR |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #2808 +/- ##
==========================================
- Coverage 53.29% 53.25% -0.05%
==========================================
Files 199 199
Lines 27680 27694 +14
==========================================
- Hits 14753 14748 -5
- Misses 11097 11118 +21
+ Partials 1830 1828 -2 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Same principle as #2808. Refactor the binding functions to be usable across multiple commands.
Same principle as #2808. Refactor the binding functions to be usable across multiple commands. category: refactor ticket: none
Separate Prometheus from pprof/QBFT HTTP endpoint, and let user configure the listening address for them. Added the `--debug-address` CLI argument, so that user can specify the IP/port combo that suite them better. If no `--debug-address` is specified, don't bind debug endpoints. category: refactor ticket: none
Same principle as #2808. Refactor the binding functions to be usable across multiple commands. category: refactor ticket: none
Separate Prometheus from pprof/QBFT HTTP endpoint, and let user configure the listening address for them.
Added the
--debug-address
CLI argument, so that user can specify the IP/port combo that suite them better.If no
--debug-address
is specified, don't bind debug endpoints.category: refactor
ticket: none