# registerPlugin() function · @imqueue/datadog

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

Registers the `imq` integration with the tracer.

Safe to call more than once, and safe to call before `tracer.init()` — the tracer only instantiates the plugin once it has been configured.

**Signature:**

```typescript
export declare function registerPlugin(): boolean;
```
**Returns:**

boolean

`true` if this call performed the registration, `false` if it had already happened

## Remarks

Called for you when this package is imported, so applications never need it. It is exported for tests and for a host that builds the tracer by hand.

