---
name: "mongoc_apm_server_changed_get_context"
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_server_changed_get_context"
---

# mongoc\_apm\_server\_changed\_get\_context(3)

## SYNOPSIS

```
void *
mongoc_apm_server_changed_get_context (
   const mongoc_apm_server_changed_t *event);
```

Returns this event's context.

## PARAMETERS

- •

  **event**: A *mongoc\_apm\_server\_changed\_t*.

## RETURNS

The pointer passed with *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.
