Skip to content

Commit 2283563

Browse files
authored
DOCSP-35814: renames connid64 type, removes old field in v2 (#342)
* DOCSP-35814: renames connid64 type, removes old field in v2 * whats new * simplify wording * MW PR fixes 1 * MW typo fix
1 parent 28b0a67 commit 2283563

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

source/fundamentals/monitoring/command-monitoring.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff 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
}

source/whats-new.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff 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

6073
What's New in 1.13

0 commit comments

Comments
 (0)