Skip to main content
zerotal

Documentation


Documentation / @zerotal/monitor / AlertThresholds

Interface: AlertThresholds

Defined in: monitor/src/alerting.ts:12

Properties

errorRatePct?

optional errorRatePct?: number

Defined in: monitor/src/alerting.ts:14

Fire when the 5xx rate exceeds this %. Default: 5.


queuePending?

optional queuePending?: number

Defined in: monitor/src/alerting.ts:16

Fire when pending jobs across queues exceed this. Default: 500.


p95Ms?

optional p95Ms?: number

Defined in: monitor/src/alerting.ts:18

Fire when p95 latency exceeds this many ms. Default: 2000.


rolledBackInWindow?

optional rolledBackInWindow?: number

Defined in: monitor/src/alerting.ts:20

Fire when transaction rollbacks in the window exceed this. Default: 10.