Custom Processor #3250
Unanswered
davidwallis
asked this question in
Q&A
Replies: 1 comment
-
@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. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to add some custom attributes (host name for one) to traces (and later metrics and logs) but initially I was looking at traces..
I'm struggling to find an example of creating a custom processor for doing this, are there any C++ examples available for this or can someone point me in the correct direction?
Beta Was this translation helpful? Give feedback.
All reactions