Skip to main content
Version: Current

InstrumentOptions

@rotorsoft/act-root


@rotorsoft/act-root / act-otel / InstrumentOptions

Type Alias: InstrumentOptions

InstrumentOptions = object

Defined in: libs/act-otel/src/index.ts:52

Options for instrument.

Propertiesโ€‹

blockedStreamsLimit?โ€‹

readonly optional blockedStreamsLimit?: number

Defined in: libs/act-otel/src/index.ts:55

Cap on the blocked_streams() read behind the blocked-streams gauge (evaluated per scrape). Default 1000; a fleet with more than 1000 blocked streams has bigger problems than an exact gauge.


prefix?โ€‹

readonly optional prefix?: string

Defined in: libs/act-otel/src/index.ts:54

Metric name prefix. Default act_.


registry?โ€‹

readonly optional registry?: Registry

Defined in: libs/act-otel/src/index.ts:53

prom-client registry to register on. Defaults to prom-client's global registry, so register.metrics() serves the bridge's metrics with everything else you export.