# IMQMetricsServerOptions.enabled property · @imqueue/rpc

Source: https://imqueue.org/api/rpc/latest/rpc.imqmetricsserveroptions.enabled/
Published: 2026-08-04
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/rpc 3.5.3 — generated reference, not hand-written

Start the metrics HTTP listener when true.

**Signature:**

```typescript
enabled?: boolean;
```

## Default Value

false

## Remarks

The listener serves a single route, `GET /metrics`, is unauthenticated, and is bound to all interfaces. Every process that starts the service — including the cluster primary in `multiProcess` mode — attempts to bind the port.

