---
name: "mongoc_apm_callbacks_new"
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_new"
---

# mongoc\_apm\_callbacks\_new(3)

## SYNOPSIS

```
mongoc_apm_callbacks_t *
mongoc_apm_callbacks_new (void);
```

Create a struct to hold event-notification callbacks.

## RETURNS

A new **mongoc\_apm\_callbacks\_t** you must free with *mongoc\_apm\_callbacks\_destroy()*.

**SEE ALSO:**

```
Introduction to Application Performance Monitoring
```

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
