Skip to main content
zerotal

Documentation


Documentation / @zerotal/monitor / AlertNotice

Interface: AlertNotice

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

Properties

id

id: string

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


level

level: "warning" | "critical"

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


title

title: string

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


detail

detail: string

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


metric

metric: string

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

Human label for the breaching metric, e.g. "p95 latency".


value

value: number

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

Observed value at firing time.


threshold

threshold: number

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

Configured threshold it crossed.


unit

unit: string

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

Unit for value/threshold: "ms" | "%" | "".