# ImqueueInstrumentation.enable() method · @imqueue/opentelemetry

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

Starts tracing: resolves the live `@imqueue/rpc` and attaches the hooks to its default options.

**Signature:**

```typescript
enable(): void;
```
**Returns:**

void

## Remarks

A no-op if `@imqueue/rpc` cannot be resolved — nothing throws, so an app that registers this instrumentation without using IMQ still starts. That also means a silent failure looks identical to success from here; if no spans appear, an unresolvable or duplicated `rpc` install is the first thing to check.

