-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Implement telegraf collecting stats on itself #2043
Conversation
9f9c0f7
to
e2a26cd
Compare
@@ -0,0 +1 @@ | |||
# TODO |
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.
Would probably be awesome to include
It's quite a long diff, is this commit fixing a few things and also adding new functionality? I don't know the culture of this project (sorry), but it seems this would be an easier review if chunked a bit. |
6f93d85
to
fdf1a60
Compare
thanks @rud-bookbites, but I'm actually the maintainer of the project, you don't need to worry about reviewing this ;-) |
fdf1a60
to
34aa334
Compare
7bbdf36
to
7abf7c4
Compare
35e8112
to
a4a269e
Compare
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.
One question about done
flag and same question applies to several other spots in the PR with removal of done
and Quiet
.
@@ -123,11 +122,9 @@ func makemetric( | |||
case float64: | |||
// NaNs are invalid values in influxdb, skip measurement | |||
if math.IsNaN(val) || math.IsInf(val, 0) { | |||
if debug { |
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.
Is it going to spam the log without the debug
flag?
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.
This should have been caught in an earlier change. The debug
flag has been removed in favor of the D!
log prefix
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.
It was caught. I commented on the old code. Just making sure this was the intended behavior.
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.
yep, this is the intended behavior
a4a269e
to
9cd2cc7
Compare
9cd2cc7
to
d71a42c
Compare
Required for all PRs:
closes #1348