-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: 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
- Implement DRIVERS-2575 for the Go Driver.
- Create an otelmongo issue to follow up in the v2 telemetry solution: https://github.com/open-telemetry/opentelemetry-go-contrib/issues
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.
- related to
-
GODRIVER-3173 CSOT avoid connection churn when operations timeout
-
- In Progress
-
-
GODRIVER-1371 improve usability of the APM interface
-
- Closed
-
-
DRIVERS-2575 Add collection name to all command logging and monitoring events
-
- Backlog
-