-
Notifications
You must be signed in to change notification settings - Fork 303
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 stats and change heap #108
Conversation
How to view these stats? |
pkg/dashboard/server.go
Outdated
@@ -35,10 +35,11 @@ func (s Server) StartServer() (string, utils.ControlChan) { | |||
log.Errorf("Failed to check that Helm is operational, cannot continue. The error was: %s", err) | |||
os.Exit(1) // TODO: propagate error instead? | |||
} | |||
|
|||
isDevModeWithAnalytics := s.Version == "0.0.0" && os.Getenv("enableDevAnalytics") == "true" |
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.
Env variable should be all-caps and have HD_
prefix, it's a sort of project standard.
The s.Version == "0.0.0"
condition is not needed, the second part of condition handles all cases perfectly.
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.
Please address my comments
Sorry, it is not possible to view these stats publicly. |
No description provided.