1MONGOC_APM_COMMAND_STARTEMDO_NGGEOTC__SAEPRMV_ElCRiO_bMCmMOoANnNNgDEo_CcSTTIAORNT_EIDD_(G3E)T_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_started_get_server_connection_id_int64() in new
11 code.
12
13
15 int32_t
16 mongoc_apm_command_started_get_server_connection_id (
17 const mongoc_apm_command_started_t *event)
18 BSON_GNUC_DEPRECATED_FOR (
19 "mongoc_apm_command_started_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_started_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_started_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_APNMo_vCO0M8M,AN2D0_2S3TARTED_GET_SERVER_CONNECTION_ID(3)