---
name: "mongoc_apm_command_failed_get_duration"
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_command_failed_get_duration"
---

# mongoc\_apm\_command\_failed\_get\_duration(3)

## SYNOPSIS

```
int64_t
mongoc_apm_command_failed_get_duration (
   const mongoc_apm_command_failed_t *event);
```

Returns this event's duration in microseconds.

## PARAMETERS

- •

  **event**: A *mongoc\_apm\_command\_failed\_t*.

## RETURNS

The event's duration.

**SEE ALSO:**

```
Introduction to Application Performance Monitoring
```

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
