-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[receiver/googlecloudpubsub] add ignore_encoding_error configuration #39839
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
Conversation
@@ -0,0 +1,16 @@ | |||
change_type: enhancement |
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.
breaking if you add a new metric enabled by default.
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.
I've changed the release note. Is this stated somewhere that a new metric is a breaking change? I like to read the guidelines to make better release notes, I didn't see this stated in the CONTRIBUTING.md file.
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.
…pen-telemetry#39839) #### Description Introduce a setting to ignore errors when the configured encoder. It's advised to set this to `true` when using a custom encoder, and use `receiver.googlecloudpubsub.encoding_error` metric to monitor the number of errors. Ignoring the error will cause the receiver to drop the message. #### Link to tracking issue open-telemetry#38164 #### Testing Tested with a custom encoder and introducing bogus message to the topic. #### Documentation Added the configuration setting to the README
…pen-telemetry#39839) #### Description Introduce a setting to ignore errors when the configured encoder. It's advised to set this to `true` when using a custom encoder, and use `receiver.googlecloudpubsub.encoding_error` metric to monitor the number of errors. Ignoring the error will cause the receiver to drop the message. #### Link to tracking issue open-telemetry#38164 #### Testing Tested with a custom encoder and introducing bogus message to the topic. #### Documentation Added the configuration setting to the README
…pen-telemetry#39839) #### Description Introduce a setting to ignore errors when the configured encoder. It's advised to set this to `true` when using a custom encoder, and use `receiver.googlecloudpubsub.encoding_error` metric to monitor the number of errors. Ignoring the error will cause the receiver to drop the message. #### Link to tracking issue open-telemetry#38164 #### Testing Tested with a custom encoder and introducing bogus message to the topic. #### Documentation Added the configuration setting to the README
Description
Introduce a setting to ignore errors when the configured encoder. It's advised to set this to
true
when usinga custom encoder, and use
receiver.googlecloudpubsub.encoding_error
metric to monitor the number of errors.Ignoring the error will cause the receiver to drop the message.
Link to tracking issue
#38164
Testing
Tested with a custom encoder and introducing bogus message to the topic.
Documentation
Added the configuration setting to the README