1MONGOC_APM_COMMAND_STARTEMDO_NGGEOTC__SAEPRMV_ElCRiO_bMCmMOoANnNNgDEo_CcSTTIAORNT_EIDD_(G3E)T_SERVER_CONNECTION_ID(3)
2
3
4
6 mongoc_apm_command_started_get_server_connection_id - mongoc_apm_com‐
7 mand_started_get_server_connection_id()
8
9 WARNING:
10 Deprecated since version 1.24.0: This function is deprecated and
11 should not be used in new code.
12
13 Please use
14 mongoc_apm_command_started_get_server_connection_id_int64() in new
15 code.
16
17
19 int32_t
20 mongoc_apm_command_started_get_server_connection_id (
21 const mongoc_apm_command_started_t *event)
22 BSON_GNUC_DEPRECATED_FOR (
23 "mongoc_apm_command_started_get_server_connection_id_int64");
24
25 Returns the server connection ID for the command. The server connection
26 ID is distinct from the server ID (‐
27 mongoc_apm_command_started_get_server_id()) and is returned by the
28 hello or legacy hello response as "connectionId" from the server on
29 4.2+.
30
32 • event: A mongoc_apm_command_started_t.
33
35 The server connection ID as a positive integer or -1 if it is not
36 available.
37
38 SEE ALSO:
39 Introduction to Application Performance Monitoring
40
41
43 MongoDB, Inc
44
46 2017-present, MongoDB, Inc
47
48
49
50
511.24.3 MONGOC_APAMu_gCO1M7M,AN2D0_2S3TARTED_GET_SERVER_CONNECTION_ID(3)