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
10 int32_t
11 mongoc_apm_command_failed_get_server_connection_id (
12 const mongoc_apm_command_failed_t *event);
13
14 Returns this event's context.
15
16 Returns the server connection ID for the command. The server connection
17 ID is distinct from the server ID (‐
18 mongoc_apm_command_failed_get_server_id()) and is returned by the hello
19 or legacy hello response as "connectionId" from the server on 4.2+.
20
22 • event: A mongoc_apm_command_failed_t.
23
25 The server connection ID as a positive integer or -1 if it is not
26 available.
27
28 SEE ALSO:
29 Introduction to Application Performance Monitoring
30
31
33 MongoDB, Inc
34
36 2017-present, MongoDB, Inc
37
38
39
40
411.23.1 MONGOC_AOPcMt_C2O0M,MA2N0D2_2FAILED_GET_SERVER_CONNECTION_ID(3)