Skip to main content
zerotal

Documentation


Documentation / @zerotal/monitor / AlertEntry

Interface: AlertEntry

Defined in: monitor/src/store/types.ts:129

One alert kind, with its firings grouped and the latest firing's context.

Properties

id

id: string

Defined in: monitor/src/store/types.ts:130


title

title: string

Defined in: monitor/src/store/types.ts:131


level

level: "warning" | "critical"

Defined in: monitor/src/store/types.ts:132


status

status: "info" | "warn" | "ok" | "bad"

Defined in: monitor/src/store/types.ts:133


detail

detail: string

Defined in: monitor/src/store/types.ts:134


metric

metric: string

Defined in: monitor/src/store/types.ts:135


value

value: number

Defined in: monitor/src/store/types.ts:136


threshold

threshold: number

Defined in: monitor/src/store/types.ts:137


unit

unit: string

Defined in: monitor/src/store/types.ts:138


count

count: number

Defined in: monitor/src/store/types.ts:140

How many times this alert fired in the window.


firstSeen

firstSeen: string

Defined in: monitor/src/store/types.ts:141


lastSeen

lastSeen: string

Defined in: monitor/src/store/types.ts:142


context

context: AlertContext

Defined in: monitor/src/store/types.ts:143


occurrences

occurrences: object[]

Defined in: monitor/src/store/types.ts:145

Most-recent firings (newest first), for the timeline.

when

when: string

detail

detail: string

value

value: number