1MONGOC_APM_SET_SERVER_CHANGED_CB(3)libmongocMONGOC_APM_SET_SERVER_CHANGED_CB(3)
2
3
4
6 mongoc_apm_set_server_changed_cb - mongoc_apm_set_server_changed_cb()
7
9 typedef void (*mongoc_apm_server_changed_cb_t) (
10 const mongoc_apm_server_changed_t *event);
11
12 void
13 mongoc_apm_set_server_changed_cb (mongoc_apm_callbacks_t *callbacks,
14 mongoc_apm_server_changed_cb_t cb);
15
16 Receive an event notification whenever the driver observes a change in
17 status of a server it is connected to.
18
20 • callbacks: A mongoc_apm_callbacks_t.
21
22 • cb: A function to call with a mongoc_apm_server_changed_t whenever
23 the driver observes a change in status of a server it is connected
24 to.
25
26 SEE ALSO:
27 Introduction to Application Performance Monitoring
28
29
31 MongoDB, Inc
32
34 2017-present, MongoDB, Inc
35
36
37
38
391.24.3 Aug 17, 202M3ONGOC_APM_SET_SERVER_CHANGED_CB(3)