# ImqCallContext interface · @imqueue/datadog

Source: https://imqueue.org/api/datadog/latest/datadog.imqcallcontext/
Published: 2026-08-01
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/datadog 3.2.0 — generated reference, not hand-written

Everything the plugins need to describe a call. Instances are created by the instrumentation in `./instrumentation` and travel through the channels; the plugins add `span` to them and read it back when the call completes.

**Signature:**

```typescript
export interface ImqCallContext 
```

## Properties


| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [carrier?](https://imqueue.org/api/datadog/latest/datadog.imqcallcontext.carrier/) |  | Record<string, string> | _(Optional)_ Carrier for the propagated trace context: the client writes into it, the server reads from it. It travels as `request.metadata.clientSpan`. |
| [error?](https://imqueue.org/api/datadog/latest/datadog.imqcallcontext.error/) |  | any | _(Optional)_ Error the call failed with, if any. |
| [from?](https://imqueue.org/api/datadog/latest/datadog.imqcallcontext.from/) |  | string | _(Optional)_ Queue name of the calling party, when the request carries one. |
| [method](https://imqueue.org/api/datadog/latest/datadog.imqcallcontext.method/) |  | string | Name of the called method. |
| [serviceName](https://imqueue.org/api/datadog/latest/datadog.imqcallcontext.servicename/) |  | string | Name of the imq service the call belongs to. |
| [span?](https://imqueue.org/api/datadog/latest/datadog.imqcallcontext.span/) |  | any | _(Optional)_ Span the plugin created for this call. Set by the plugin. |

