Skip to main content

alertMonitor Query

Returns the specified AlertMonitor object.

Access is permitted when any of the following condition(s) are met: 1. The signed-in User has any of the following permissions for the associated Organization: [org_admin_instance_permissions, org_manage_instances, org_view_instances]. 2. The signed-in User has any of the following permissions for the object's 'instance.customer' attribute: [customer_admin_instance_permissions, customer_view_instances]. 3. The signed-in User has any of the following permissions for the object's 'instance' attribute: [instance_admin_permissions, instance_view, instance_edit, instance_remove].

Input fields#

ArgumentTypeDescription
idID!The ID of the AlertMonitor object.

Return fields (AlertMonitor)#

id (ID!)#

The ID of the object.

createdAt (DateTime!)#

The timestamp at which the object was created.

name (String!)#

The name of the AlertMonitor.

triggers (AlertTriggerConnection!)#

The AlertTriggers that are setup to trigger the AlertMonitor.

groups (AlertGroupConnection!)#

The AlertGroups to notify when the AlertMonitor is triggered.

users (UserConnection!)#

The Users to notify when the AlertMonitor is triggerd.

webhooks (AlertWebhookConnection!)#

The AlertWebhooks to call when the AlertMonitor is triggered.

logSeverityLevelCondition (Int)#

The log severity level condition to monitor for relevant AlertTrigger types.

durationSecondsCondition (Int)#

The execution duration condition to monitor for relevant AlertTrigger types.

executionOverdueMinutesCondition (Int)#

The execution overdue condition to monitor for relevant AlertTrigger types.

instance (Instance!)#

The Instance that is being monitored by the AlertMonitor.

triggered (Boolean!)#

Specifies whether the AlertMonitor is currently triggered.

lastTriggeredAt (DateTime)#

The timestamp when the AlertMonitor was last triggered.

events (AlertEventConnection!)#

The AlertMonitor to which the AlertEvent is associated.

allowUpdate (Boolean!)#

Specifies whether the signed-in User can update the AlertMonitor.

allowRemove (Boolean!)#

Specifies whether the signed-in User can remove the AlertMonitor.