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

Log datapoints option #5689

Merged
merged 1 commit into from
Oct 18, 2021

Conversation

dloucasfx
Copy link
Contributor

Signed-off-by: Dani Louca [email protected]

Description:
This PR introduces a new option log_data_points to the signalfx 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 exporter
This 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 to debug
and this is true, all datapoints dispatched to SignalFX will be logged

@dloucasfx dloucasfx requested review from a team and dmitryax October 9, 2021 01:27
@dloucasfx
Copy link
Contributor Author

Thanks @rmfitzpatrick for reviewing, PR is updated.

Signed-off-by: Dani Louca <[email protected]>
@dloucasfx
Copy link
Contributor Author

Thanks @rmfitzpatrick PR is updated with your suggestions

Copy link
Member

@tigrannajaryan tigrannajaryan left a comment

Choose a reason for hiding this comment

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

LGTM

@tigrannajaryan tigrannajaryan merged commit 2c1f1ba into open-telemetry:main Oct 18, 2021
@tigrannajaryan
Copy link
Member

@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).

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.

4 participants