Include OTEL context on egress commands

XMLWordPrintableJSON

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

      Include OTEL context on egress commands to nodes that support OpenTelemetry.

      This is tied closely together with SERVER-100123, as we will likely have to adapt this ticket to the implementation in SERVER-100123. This ticket will also likely need N&O input. The most "correct" way to do this is probably by adding a new egress metadata hook, but that may not work with SERVER-100123.

      Work closely with whoever is working on SERVER-100123.

      Acceptance criteria:

      • $traceCtx is set on outgoing egress if opCtx has a span context AND the remote node has OTEL enabled.
      • Update unit tests.

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

              Created:
              Updated: