1MONGOC_APM_COMMAND_SUCCMEOENDGEODC__GAEPTM__SCEORlMViMEbARmN_oDCn_OgSNoUNcCECCETEIDOEND__IGDE(T3_)SERVER_CONNECTION_ID(3)
2
3
4
6 Deprecated since version 1.24.0: This function is deprecated and
7 should not be used in new code.
8
9 Please use
10 mongoc_apm_command_succeeded_get_server_connection_id_int64() in new
11 code.
12
13
15 int32_t
16 mongoc_apm_command_succeeded_get_server_connection_id (
17 const mongoc_apm_command_succeeded_t *event)
18 BSON_GNUC_DEPRECATED_FOR (
19 "mongoc_apm_command_succeeded_get_server_connection_id_int64");
20
21 Returns the server connection ID for the command. The server connection
22 ID is distinct from the server ID (‐
23 mongoc_apm_command_succeeded_get_server_id()) and is returned by the
24 hello or legacy hello response as "connectionId" from the server on
25 4.2+.
26
28 • event: A mongoc_apm_command_succeeded_t.
29
31 The server connection ID as a positive integer or -1 if it is not
32 available.
33
34 SEE ALSO:
35 Introduction to Application Performance Monitoring
36
37
39 MongoDB, Inc
40
42 2017-present, MongoDB, Inc
43
44
45
46
471.25.1 MONGOC_APM_NCoOvMM0A8N,D_2S0U2C3CEEDED_GET_SERVER_CONNECTION_ID(3)