File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,6 @@ CommandStartedEvent
8686 "RequestID": ...,
8787 "ConnectionID": "...",
8888 "ServerConnectionID": ...,
89- "ServerConnectionID64": ...,
9089 "ServiceID": "..."
9190 }
9291
@@ -104,7 +103,6 @@ CommandSucceededEvent
104103 "RequestID": 13,
105104 "ConnectionID": "...",
106105 "ServerConnectionID": ...,
107- "ServerConnectionID64": ...,
108106 "ServiceID": null,
109107 "Reply": "..."
110108 }
@@ -123,7 +121,6 @@ CommandFailedEvent
123121 "RequestID": 13,
124122 "ConnectionID": "...",
125123 "ServerConnectionID": ...,
126- "ServerConnectionID64": ...,
127124 "ServiceID": null,
128125 "Failure": "..."
129126 }
Original file line number Diff line number Diff line change @@ -55,6 +55,19 @@ What's New in 2.0
5555 :ref:`Connection Example Code <go-connection-example-code>` in the
5656 Connection Guide.
5757
58+ The 2.0 {+driver-short+} release includes the following improvements and fixes:
59+
60+ - Updates to monitoring event documents:
61+
62+ - The ``CommandStartedEvent`` and ``CommandFinishedEvent`` structs
63+ have a single ``ServerConnectionID`` field of type ``int64`` to
64+ capture the connection ID.
65+
66+ - The ``ConnectionID`` field of the ``PoolEvent``
67+ struct takes a value of type ``int64`` instead of ``uint64``.
68+
69+ To view sample event documents, see the :ref:`golang-monitoring` guides.
70+
5871.. _version-1.13:
5972
6073What's New in 1.13
You can’t perform that action at this time.
0 commit comments