Skip to content

Custom Processor #3250

Answered by lalitb
davidwallis asked this question in Q&A
Jan 23, 2025 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

@davidwallis - The current design of the traces and logs pipeline is optimized to directly copy and serialize records from user memory into the format required by the exporter. This approach does not allow custom processors to intercept and modify the data. While a workaround (refer to #1508) enables this by adding support in exporters to deserialize already serialized data, it introduces additional overhead. For attributes like host-name, it would be more efficient to include them as part of the resource, or alternatively, have a custom exporter handle the addition of these attributes.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@davidwallis
Comment options

Answer selected by davidwallis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants