Open
Description
Something I've seen come up a few times is: "How do I unit test that I'm adding the right attributes to a span?"
You can't test this with the tracing API because it doesn't give you access to this data. But you can depend on the "SDK trace API" in a language to get access to a read/write span.
This should probably be documented with an example in all the languages with stable tracing:
- JS
- Java
- Go
- .NET
- Python
- Elixir
- Ruby
- C++