Interface: MonitorUpEventData
Defined in: shared/types/events.ts:291
Payload for events when a monitor comes back up (becomes available).
Remarksโ
Emitted when a previously down monitor is detected as up.
monitor
: The monitor that came back up.site
: The site containing the monitor.siteId
: The unique identifier of the site.timestamp
: The time (in ms since epoch) when the event occurred.
Exampleโ
const event: MonitorUpEventData = {
monitor,
site,
siteId: site.id,
timestamp: Date.now(),
};
Extendsโ
Propertiesโ
timestampโ
timestamp:
number
Defined in: shared/types/events.ts:25
The time (in ms since epoch) when the event occurred.
Inherited fromโ
monitorโ
readonly
monitor:Monitor
Defined in: shared/types/events.ts:295
The monitor that came back up.
siteโ
readonly
site:Site
Defined in: shared/types/events.ts:299
The site containing the monitor.
siteIdโ
readonly
siteId:string
Defined in: shared/types/events.ts:303
The unique identifier of the site.