mongoc_apm_command_failed_get_request_id() — MongoDB C Driver 1.6.3

- MongoDB C Driver 1.6.3 »
- Application Performance Monitoring (APM) »
- mongoc_apm_command_failed_t

# mongoc_apm_command_failed_get_request_id()

## Synopsis

    int64_t
    mongoc_apm_command_failed_get_request_id (
       const mongoc_apm_command_failed_t *event);

Returns this event's wire-protocol request id. Use this number to correlate client-side events with server log messages.

## Parameters

- `event`: A mongoc_apm_command_failed_t.

## Returns

The event's request id.

## See Also

Introduction to Application Performance Monitoring

Created using Sphinx 1.5.3, based on Sphinx Readable Theme.