-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Log datapoints option #5689
Log datapoints option #5689
Conversation
a3297e4
to
e3eb715
Compare
Thanks @rmfitzpatrick for reviewing, PR is updated. |
Signed-off-by: Dani Louca <[email protected]>
e3eb715
to
88dbd25
Compare
Thanks @rmfitzpatrick PR is updated with your suggestions |
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.
LGTM
@dloucasfx thanks for the change. For future PRs please make sure the commit message is also populated (not just a one-liner). The PR description that you have is very nice and would be great to have as a commit message (I copy/pasted it this time before merging). |
Signed-off-by: Dani Louca [email protected]
Description:
This PR introduces a new option
log_data_points
to thesignalfx
exporter; when set to true and the log level is set to debug, we will log datapoints coming to the signalfx exporter and all sfx datapoints that will be dispatched to SignalFX, after they got converted, translated and filtered by the exporterThis greatly helps debugging issues related to dispatched datapoints to confirm what's been sent to the backend/system.
This PR will also log filtered datapoints when log level is set to debug, independently of
log_data_points
.Documentation:
log_data_points
(default =false
): If the log level is set todebug
and this is true, all datapoints dispatched to SignalFX will be logged