-
Notifications
You must be signed in to change notification settings - Fork 453
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
[coordinator] Remove carbon debug flag and rely on log debug level #2024
[coordinator] Remove carbon debug flag and rely on log debug level #2024
Conversation
@@ -30,6 +30,8 @@ import ( | |||
"sync" | |||
"time" | |||
|
|||
"go.uber.org/zap/zapcore" |
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.
nit: wrong segment for this import
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.
Approved /w nit
…gger' of github.com:m3db/m3 into r/remove-carbon-debug-flags-rely-on-debug-level-from-logger
Would this break an existing deployments that set this option? |
Codecov Report
@@ Coverage Diff @@
## master #2024 +/- ##
=========================================
- Coverage 72.4% 62.2% -10.2%
=========================================
Files 1007 971 -36
Lines 86645 84256 -2389
=========================================
- Hits 62753 52439 -10314
- Misses 19657 28409 +8752
+ Partials 4235 3408 -827
Continue to review full report at Codecov.
|
4 similar comments
Codecov Report
@@ Coverage Diff @@
## master #2024 +/- ##
=========================================
- Coverage 72.4% 62.2% -10.2%
=========================================
Files 1007 971 -36
Lines 86645 84256 -2389
=========================================
- Hits 62753 52439 -10314
- Misses 19657 28409 +8752
+ Partials 4235 3408 -827
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #2024 +/- ##
=========================================
- Coverage 72.4% 62.2% -10.2%
=========================================
Files 1007 971 -36
Lines 86645 84256 -2389
=========================================
- Hits 62753 52439 -10314
- Misses 19657 28409 +8752
+ Partials 4235 3408 -827
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #2024 +/- ##
=========================================
- Coverage 72.4% 62.2% -10.2%
=========================================
Files 1007 971 -36
Lines 86645 84256 -2389
=========================================
- Hits 62753 52439 -10314
- Misses 19657 28409 +8752
+ Partials 4235 3408 -827
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #2024 +/- ##
=========================================
- Coverage 72.4% 62.2% -10.2%
=========================================
Files 1007 971 -36
Lines 86645 84256 -2389
=========================================
- Hits 62753 52439 -10314
- Misses 19657 28409 +8752
+ Partials 4235 3408 -827
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #2024 +/- ##
========================================
+ Coverage 71.9% 72.7% +0.8%
========================================
Files 1004 1004
Lines 86566 86445 -121
========================================
+ Hits 62250 62921 +671
+ Misses 20095 19306 -789
+ Partials 4221 4218 -3
Continue to review full report at Codecov.
|
@@ -67,7 +68,6 @@ var ( | |||
|
|||
// Options configures the ingester. | |||
type Options struct { | |||
Debug bool |
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.
Btw may be prudent to put a deprecation warning here (unfortunately don't think we can delete the field without yaml parser complaining...)
What this PR does / why we need it:
Fixes having two configs for controlling debug/non-debug messages for carbon ingester. Now just use the debug log level to determine whether to print debug messages for the carbon ingester.
Special notes for your reviewer:
Does this PR introduce a user-facing and/or backwards incompatible change?:
Does this PR require updating code package or user-facing documentation?: