Serialization and deserialization logic for OTEL context

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • 2
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Introduce methods to serialize an OTEL's SpanContext to BSON and to deserialize a BSON to create an OTEL SpanContext.

      Link to the POC logic for (de)serialization : https://github.com/10gen/mongo/blob/419d5ac044e3216f0299416c6374afb471621c2a/src/mongo/tracing/trace_serialization.cpp. IIRC it wasn't fully working yet.

       

      Acceptance criteria:

      • Serializer and deserializer + unit tests for each.

            Assignee:
            Brett Nawrocki
            Reporter:
            Didier Nadeau
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: