ExportXMLWordPrintableJSON

    • Client Side Tracing
    • Not Needed
    • In Progress
    • Hide

      DRIVERS-719:
      Summary of necessary driver changes

      •  Implement the OpenTelemetry spec (source/open-telemetry/open-telemetry.md) at current master. Steps 1 to 4 below are already merged into the spec, so reading current master gives you the corrected text without applying each ticket's diff; step 5 (DRIVERS-3625) is not merged yet. The ticket list is the suggested order of work; each ticket has its own split in your language epic with details and test commits in its Upstream Changes Summary.
      1. Test runner first – DRIVERS-3201 (OTel assertions in the unified test format), DRIVERS-3598 (schema 1.29: $$gte operator, ignoreExtraSpans at every level), DRIVERS-3597 (fixture fixes). Nothing can be verified without this.
      2. Core implementation – operation and command spans and attributes; includes DRIVERS-3393 (attribute rename), DRIVERS-3598 (getMore gets its own operation span, sibling of the cursor-creating span; db.mongodb.cursor_id MUST be set on cursor spans), DRIVERS-3617 (error.type on command spans), DRIVERS-3669 (no command spans under an unrecorded span). Sync tests from DRIVERS-3313.
      3. Prose tests – all prose tests in the spec, including the getMore ones from DRIVERS-3598.
      4. Performance gate – DRIVERS-3620: benchmark your suite with and without OTel across representative sampling rates and apply the spec's Performance Implications section. Must be done before shipping.
      5. Operation names – DRIVERS-3625: fixes and completes the Covered Operations table (countDocuments, watch, renameCollection, collection-level bulkWrite, generic cursor commands) and adds unified tests for tracing and server selection logging. Spec PR mongodb/specifications#1993 is still a draft; implement it once merged.

      Optional follow-ons, not part of this epic. Teams may schedule these after the base ships, or alongside it if they prefer; each is tracked standalone with its own language split: DRIVERS-3454 trace context propagation to the server (MongoDB 9.0+), DRIVERS-3739 log/trace correlation, DRIVERS-3627 optional span links. Further OTel work (for example metrics) will follow the same model.

      Commits for syncing spec/prose tests
      (and/or refer to an existing language POC if needed)

      • Use current master of mongodb/specifications; per-ticket commits are listed on each child ticket.

      Context for other referenced/linked tickets

      Show
      DRIVERS-719 : Summary of necessary driver changes  Implement the OpenTelemetry spec ( source/open-telemetry/open-telemetry.md ) at current master. Steps 1 to 4 below are already merged into the spec, so reading current master gives you the corrected text without applying each ticket's diff; step 5 ( DRIVERS-3625 ) is not merged yet. The ticket list is the suggested order of work ; each ticket has its own split in your language epic with details and test commits in its Upstream Changes Summary. Test runner first – DRIVERS-3201 (OTel assertions in the unified test format), DRIVERS-3598 (schema 1.29: $$gte operator, ignoreExtraSpans at every level), DRIVERS-3597 (fixture fixes). Nothing can be verified without this. Core implementation – operation and command spans and attributes; includes DRIVERS-3393 (attribute rename), DRIVERS-3598 (getMore gets its own operation span, sibling of the cursor-creating span; db.mongodb.cursor_id MUST be set on cursor spans), DRIVERS-3617 ( error.type on command spans), DRIVERS-3669 (no command spans under an unrecorded span). Sync tests from DRIVERS-3313 . Prose tests – all prose tests in the spec, including the getMore ones from DRIVERS-3598 . Performance gate – DRIVERS-3620 : benchmark your suite with and without OTel across representative sampling rates and apply the spec's Performance Implications section. Must be done before shipping. Operation names – DRIVERS-3625 : fixes and completes the Covered Operations table ( countDocuments , watch , renameCollection , collection-level bulkWrite , generic cursor commands) and adds unified tests for tracing and server selection logging. Spec PR mongodb/specifications#1993 is still a draft; implement it once merged. Optional follow-ons, not part of this epic. Teams may schedule these after the base ships, or alongside it if they prefer; each is tracked standalone with its own language split: DRIVERS-3454 trace context propagation to the server (MongoDB 9.0+), DRIVERS-3739 log/trace correlation, DRIVERS-3627 optional span links. Further OTel work (for example metrics) will follow the same model. Commits for syncing spec/prose tests (and/or refer to an existing language POC if needed) Use current master of mongodb/specifications; per-ticket commits are listed on each child ticket. Context for other referenced/linked tickets Reference implementations: Java ( JAVA-5876 ), C# ( CSHARP-4709 ), Ruby ( RUBY-3612 ), Rust ( RUST-2138 ).

      This ticket was split from DRIVERS-719, please see that ticket for a detailed description.

            Assignee:
            Matt Dale
            Reporter:
            TPM Jira Automations Bot
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None
              None