[receiver/awss3] add tag_object_after_ingestion flag#46769
Conversation
4c2c9f0 to
e1ee372
Compare
e1ee372 to
c31a255
Compare
|
Please cover in tests and docs the behavior if the receiver next consumer returns an error on Consume* calls. |
|
@atoulme as we discussed I've updated the implementation to tagging objects instead of deleting them. I'll follow up with another PR after this to add a flag to skip tagged objects (cost was one reason for deleting, but the other is to prevent re-ingesting the same object multiple times, most applicable to non-sqs mode) |
828080e to
25c90a0
Compare
89fcd7e to
c5409bc
Compare
|
Thank you for your contribution @tommyzli! 🎉 We would like to hear from you about your experience contributing to OpenTelemetry by taking a few minutes to fill out this survey. If you are getting started contributing, you can also join the CNCF Slack channel #opentelemetry-new-contributors to ask for guidance and get help. |
…46769) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description introduce a flag for the receiver to make a best-effort attempt to tag the objects it ingests. This is useful for cost management, as lifecycle policies can be used to delete tagged objects <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes open-telemetry#46078 <!--Describe what testing was performed and which tests were added.--> #### Testing new unit tests <!--Please delete paragraphs that you did not use before submitting.-->
…46769) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description introduce a flag for the receiver to make a best-effort attempt to tag the objects it ingests. This is useful for cost management, as lifecycle policies can be used to delete tagged objects <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes open-telemetry#46078 <!--Describe what testing was performed and which tests were added.--> #### Testing new unit tests <!--Please delete paragraphs that you did not use before submitting.-->
Description
introduce a flag for the receiver to make a best-effort attempt to tag the objects it ingests. This is useful for cost management, as lifecycle policies can be used to delete tagged objects
Link to tracking issue
Fixes #46078
Testing
new unit tests