Construct MongoRPC egress requests with otel trace context

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In order to support otel traces that span multiple server nodes, we need to include the trace context in messages sent over the network.

      For egress using MongoRPC, we will want to include this trace context in the OpMsg rather than the request body so that the receiving node can pick up the trace context as soon as possible. The OpMsg spec is being updated to support the trace context in DRIVERS-3454.

            Assignee:
            Alina Zeng
            Reporter:
            Joseph Prince
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: