ImqCallContext interface
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:
export interface ImqCallContext
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
Record<string, string> |
(Optional) Carrier for the propagated trace context: the client writes into it, the server reads from it. It travels as | ||
|
any |
(Optional) Error the call failed with, if any. | ||
|
string |
(Optional) Queue name of the calling party, when the request carries one. | ||
|
string |
Name of the called method. | ||
|
string |
Name of the imq service the call belongs to. | ||
|
any |
(Optional) Span the plugin created for this call. Set by the plugin. |
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.