Skip to main content

AlarmState

A single state transition reported for an alarm.

Alarm states are append-only and recorded each time the alarm's status changes (duplicate OK -> OK or ALARM -> ALARM updates are deduplicated at ingest). The most recent state is exposed as alarm.currentState.

type AlarmState {
id: ID!
status: AlarmStatus!
message: String
occurredAt: DateTime!
}

Fields

AlarmState.id ● ID! non-null scalar {#id}

Unique identifier for this state record.

AlarmState.status ● AlarmStatus! non-null enum {#status}

Whether the alarm is firing (ALARM) or clear (OK).

AlarmState.message ● String scalar {#message}

Provider-supplied human-readable message describing the state change.

AlarmState.occurredAt ● DateTime! non-null scalar {#occurred-at}

When the state change occurred in the cloud provider (UTC).

Member Of

Alarm object