# IMQService.metricsServer property · @imqueue/rpc

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

The metrics HTTP server, present only while [IMQMetricsServerOptions.enabled](https://imqueue.org/api/rpc/latest/rpc.imqmetricsserveroptions.enabled/) is set.

**Signature:**

```typescript
protected metricsServer?: Server<any, any>;
```

## Remarks

[IMQService.destroy()](https://imqueue.org/api/rpc/latest/rpc.imqservice.destroy/) does not close it — do that yourself, or the open listener keeps the process alive.

