IMQMetricsServerOptions interface

Options for the built-in metrics server.

Signature:

export interface IMQMetricsServerOptions 

Properties

Property

Modifiers

Type

Description

enabled?

boolean

(Optional) Start the metrics HTTP listener when true.

port?

number

(Optional) TCP port to bind on all interfaces.

queueLengthFormatter?

(length: number, metricName: string) => string

(Optional) Renders the response body from the current queue length and the metric name, which is always the literal 'queue_length'.

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