1MONGOC_APM_SET_SERVER_OPENING_CB(3)libmongocMONGOC_APM_SET_SERVER_OPENING_CB(3)
2
3
4
6 typedef void (*mongoc_apm_server_opening_cb_t) (
7 const mongoc_apm_server_opening_t *event);
8
9 void
10 mongoc_apm_set_server_opening_cb (mongoc_apm_callbacks_t *callbacks,
11 mongoc_apm_server_opening_cb_t cb);
12
13 Receive an event notification whenever the driver adds a
14 mongoc_server_description_t for a new server it was not monitoring be‐
15 fore.
16
18 • callbacks: A mongoc_apm_callbacks_t.
19
20 • cb: A function to call with a mongoc_apm_server_opening_t whenever
21 the driver adds a mongoc_server_description_t for a new server it was
22 not monitoring before.
23
24 SEE ALSO:
25 Introduction to Application Performance Monitoring
26
27
29 MongoDB, Inc
30
32 2017-present, MongoDB, Inc
33
34
35
36
371.25.1 Nov 08, 202M3ONGOC_APM_SET_SERVER_OPENING_CB(3)