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
bedrock: Optional pprof servers #3136
Conversation
|
This PR changes implementation code, but doesn't include a changeset. Did you forget to add one? |
This PR has been added to the merge queue, and will be merged soon. |
This PR is next in line to be merged, and will be merged as soon as checks pass. |
* op-batcher: Enable optional pprof server * op-proposer: Enable optional pprof server * op-node: Eanble optional pprof server Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* op-batcher: Enable optional pprof server * op-proposer: Enable optional pprof server * op-node: Eanble optional pprof server Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Description
This adds an optional pprof server to the op-node, op-batcher, & op-proposer.
The pprof server defaults to off & the address 0.0.0.0:6060. With docker compose,
it enables all of the pprof servers in the devnet with the following mapping:
Additional context
This only enables the default pprof servers. Further work is needed to run blocking
and mutex profiles. See https://pkg.go.dev/net/http/pprof
See the above details for a usage guide as well.
Metadata