1MONGOC_APM_COMMAND_FAILED_MGOENTG_OSCE_RAVPEMRl__iCCbOOmMNoMNnAEgNCoDTc_IFOANI_LIEDD(_3G)ET_SERVER_CONNECTION_ID(3)
2
3
4
6 mongoc_apm_command_failed_get_server_connection_id - mongoc_apm_com‐
7 mand_failed_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_failed_get_server_connection_id_int64() in new
15 code.
16
17
19 int32_t
20 mongoc_apm_command_failed_get_server_connection_id (
21 const mongoc_apm_command_failed_t *event)
22 BSON_GNUC_DEPRECATED_FOR (
23 "mongoc_apm_command_failed_get_server_connection_id_int64");
24
25 Returns this event's context.
26
27 Returns the server connection ID for the command. The server connection
28 ID is distinct from the server ID (‐
29 mongoc_apm_command_failed_get_server_id()) and is returned by the hello
30 or legacy hello response as "connectionId" from the server on 4.2+.
31
33 • event: A mongoc_apm_command_failed_t.
34
36 The server connection ID as a positive integer or -1 if it is not
37 available.
38
39 SEE ALSO:
40 Introduction to Application Performance Monitoring
41
42
44 MongoDB, Inc
45
47 2017-present, MongoDB, Inc
48
49
50
51
521.24.3 MONGOC_AAPuMg_C1O7M,MA2N0D2_3FAILED_GET_SERVER_CONNECTION_ID(3)