ImqPlugin class

The imq integration, grouping both halves of an RPC call under a single name so that they share configuration and can be switched independently.

Signature:

export declare class ImqPlugin extends CompositePlugin 

Extends: CompositePlugin

Remarks

This is what tracer.use('imq', ...) addresses. Being a composite, an option given without a half applies to both, while client and server target one each:

tracer.use('imq', { client: false });     // trace incoming calls only
tracer.use('imq', { service: 'my-api' }); // applies to both halves

Registered with the tracer automatically when this package is imported; there is no reason to instantiate it yourself.

Properties

Property

Modifiers

Type

Description

id

static

string

Integration name, 'imq' — the string to pass to tracer.use() and the key of the DD_TRACE_IMQ_ENABLED environment switch.

plugins

static

readonly

{ client: typeof ImqClientPlugin; server: typeof ImqServerPlugin; }

The two halves this integration is composed of, which is what makes { client: false } and { server: false } valid options.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.