Extend CommandStartedEvent with collection name

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Go Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      Context

      open-telemetry/opentelemetry-go-contrib PR#7986 suggests adding a callback that accepts an event.CommandStartedEvent for users to define custom span names, which are assigned on a per operation basis. To avoid requiring users to parse the collection from the event.CommandStartedEvent, the Go Driver should support attempting to set the collection name on event.CommandStartedEvent when applicable and as prescribed by DRIVERS-2575.

      Definition of done

      Pitfalls

      The Go Driver wouldn't be 1-1 with the CLAM specifications. However, those specifications define a minimal contract that is already guaranteed by the driver.

            Assignee:
            Unassigned
            Reporter:
            Preston Vasquez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: