-
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
Encoding that sends raw format including resource and record attributes #36674
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Triage: Issue appears to contain necessary information. Moving to |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Component(s)
exporter/kafka
Is your feature request related to a problem? Please describe.
In this issue #35686 it was described a usecase that would require a complete record generated by OpenTelemetry Collector to be send in a RAW format. Unfortunatelly, the current
raw
format sends just body (https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/exporter/kafkaexporter/raw_marshaler.go#L31).Describe the solution you'd like
Add an encoding, that would not limit the
raw
format to just body, but will also send resource and record attributes.Describe alternatives you've considered
Save the whole 'message' to a variable and replace a Body with a content of this variable. It seems to me it will be resource consuming.
Additional context
Creating a follow-up issue recommended by @ChrsMark in #35686 (comment)
The text was updated successfully, but these errors were encountered: