1MONGOC_APM_COMMAND_STARTEMDO_NGGEOTC__SAEPRMV_ElCRiO_bMCmMOoANnNNgDEo_CcSTTIAORNT_EIDD_(G3E)T_SERVER_CONNECTION_ID(3)
2
3
4

NAME

6       mongoc_apm_command_started_get_server_connection_id  -  mongoc_apm_com‐
7       mand_started_get_server_connection_id()
8

SYNOPSIS

10          int32_t
11          mongoc_apm_command_started_get_server_connection_id (
12             const mongoc_apm_command_started_t *event);
13
14       Returns the server connection ID for the command. The server connection
15       ID      is      distinct      from      the      server      ID      (‐
16       mongoc_apm_command_started_get_server_id())  and  is  returned  by  the
17       hello  or  legacy  hello  response as "connectionId" from the server on
18       4.2+.
19

PARAMETERS

21event: A mongoc_apm_command_started_t.
22

RETURNS

24       The server connection ID as a positive integer  or  -1  if  it  is  not
25       available.
26
27       SEE ALSO:
28          Introduction to Application Performance Monitoring
29
30

AUTHOR

32       MongoDB, Inc
33
35       2017-present, MongoDB, Inc
36
37
38
39
401.23.1                  MONGOC_APOMc_tCO2M0M,AN2D0_2S2TARTED_GET_SERVER_CONNECTION_ID(3)
Impressum