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

add pprof to disperser #927

Merged
merged 2 commits into from
Nov 22, 2024

Conversation

bxue-l2
Copy link
Contributor

@bxue-l2 bxue-l2 commented Nov 21, 2024

Add pprof to disperser

@bxue-l2 bxue-l2 changed the title add pprof add pprof to disperser Nov 21, 2024
@bxue-l2 bxue-l2 marked this pull request as ready for review November 21, 2024 23:55
@bxue-l2 bxue-l2 requested review from jianoaix and dmanc November 21, 2024 23:58
@@ -9,4 +9,7 @@ const (
type ServerConfig struct {
GrpcPort string
GrpcTimeout time.Duration

PprofHttpPort string
EnablePprof bool
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we do PprofEnable

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The verb+noun naming reads better to me

}

// Start the pprof server
func (p *PprofProfiler) Start(logger logging.Logger) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This "logger" not needed

@jianoaix jianoaix merged commit 12619f1 into Layr-Labs:master Nov 22, 2024
6 checks passed
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

Successfully merging this pull request may close these issues.

3 participants