---
name: "mongoc_apm_callbacks_t"
section: "3"
platform: "linux"
package: "libmongoc-doc"
version: "1.30.4-1+deb13u3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mongoc_apm_callbacks_t"
---

# mongoc\_apm\_callbacks\_t(3)

Notification callbacks

## SYNOPSIS

Used to receive notification of events, such as when a MongoDB command begins, succeeds, or fails.

Create a **mongoc\_apm\_callbacks\_t** with *mongoc\_apm\_callbacks\_new()*, set callbacks on it, then pass it to *mongoc\_client\_set\_apm\_callbacks()* or *mongoc\_client\_pool\_set\_apm\_callbacks()*.

**SEE ALSO:**

```
Introduction to Application Performance Monitoring
```

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
