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

Disable metrics by default #754

Closed
wants to merge 3 commits into from

Conversation

majestrate
Copy link
Contributor

No description provided.

@majestrate majestrate changed the title Disable metrics default Disable metrics by default Aug 6, 2019
{
disableMetrics = true;
disableMetrics = IsFalseValue(val);
Copy link
Contributor

Choose a reason for hiding this comment

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

I think if we’re doing it like this, we should rename the variable to enableMetrics

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i added an option for that too

Copy link
Contributor

Choose a reason for hiding this comment

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

I mean, if metrics are disabled by default, we should make the variable “enableMetrics”, with a default value of false.

Positive bools are easier to understand imo.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i agree

@majestrate majestrate closed this Aug 30, 2019
@majestrate majestrate deleted the disable-metrics-default branch February 24, 2021 20:09
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.

2 participants