ImqClientPlugin class
Traces outgoing @imqueue RPC calls — the CLIENT half of the imq integration, producing the imq.request span.
Signature:
export declare class ImqClientPlugin extends TracingPlugin
Extends: TracingPlugin
Remarks
Subscribes to apm:imq:request:{start,error,finish} — the channels the instrumentation in ./instrumentation publishes from the client's beforeCall/afterCall hooks.
Instantiated by the tracer through ImqPlugin, not directly. Switch it off with tracer.use('imq', { client: false }).
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
string |
Component tag reported on every span, | |
|
|
string |
Integration this plugin belongs to, | |
|
|
string |
Datadog span kind: this half issues calls. | |
|
|
string |
Operation half, | |
|
|
string |
Datadog span type — RPC over a queue is messaging. |
Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
Marks the span as failed. The span itself is finished by | ||
|
Finishes the span of a completed call. | ||
|
Starts the span for an outgoing call and injects the trace context into the carrier so the handling service can continue the trace. |
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.