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 stats and change heap #108

Merged
merged 5 commits into from
Nov 24, 2022
Merged

add stats and change heap #108

merged 5 commits into from
Nov 24, 2022

Conversation

itielshwartz
Copy link
Contributor

No description provided.

@harshit-mehtaa
Copy link
Contributor

How to view these stats?

main.go Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
@@ -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"
Copy link
Collaborator

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.

Copy link
Collaborator

@undera undera left a 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

@undera
Copy link
Collaborator

undera commented Nov 24, 2022

How to view these stats?

Sorry, it is not possible to view these stats publicly.

* origin/main:
  If cluster access is failed, still display UI
  Make the entire card clickable on Installed Charts view (#87)
  Fixes JS part of #95 (#110)
@undera undera merged commit 0b06036 into main Nov 24, 2022
@undera undera deleted the add-anonymous-stats branch November 24, 2022 10:35
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