relay
relay copied to clipboard
fix(otlp): Propagate all attributes
In the process of converting OTLP spans to SpanV1, a few important attributes get dropped. My understanding is that this happens because during the matching process to extract the attributes, they are not written to the data bag.
I literally don't know how to write Rust, so I added a bit of code to clone and write those attributes during matching, but it's more meant just as a starting point, and to demonstrate the behaviour I want.
Please tell me how to do this better!