Monitors provide a flexible way to alert for patterns in your incoming data. A monitor executes a query periodically and applies rules to determine whether to trigger notifications. Notifications are forwarded to subscribed channels, which in turn route notifications to configured channel actions.



  • id (String) Resource ID for this object. One of id or name must be provided

  • name (String) Monitor name. Must be unique within workspace. One of name or id must be set. If name is provided, workspace must be set.

  • rule (Block List) (see below for nested schema)

  • workspace (String) OID of the workspace this object is contained in.


  • comment (String) A long-form comment describing the content of the monitor.

  • description (String) A brief description of the monitor.

  • disabled (Boolean) Set to true to disable monitor.

  • icon_url (String) Icon to be displayed for this object. Icons are sourced from the fluency-filled icon set.

  • inputs (Map of String) The inputs map binds dataset OIDs to labels which can be referenced within stage pipelines.

  • is_template (Boolean) This resource is template for creating new monitors

  • notification_spec (Block List) (see below for nested schema)

  • oid (String) OID (Observe ID) for this object. This is the canonical identifier that should be used when referring to this object in terraform manifests.

  • stage (Block List) A stage processes an input according to the provided pipeline. If no input is provided, a stage will implicitly follow on from the result of its predecessor. (see below for nested schema)

Nested Schema for rule


  • change (Block List) (see below for nested schema)

  • threshold (Block List) (see below for nested schema)


  • count (Block List) (see below for nested schema)

  • facet (Block List) (see below for nested schema)

  • group_by_group (Block List) (see below for nested schema)

  • promote (Block List) (see below for nested schema)

  • source_column (String)

Nested Schema for rule.change


  • compare_function (String)


  • aggregate_function (String)

  • baseline_time (String)

  • change_type (String)

  • compare_values (List of Number)

  • lookback_time (String)

Nested Schema for rule.threshold


  • compare_function (String)

  • compare_values (List of Number)

  • lookback_time (String)

  • threshold_agg_function (String)

Nested Schema for rule.count


  • compare_function (String)

  • compare_values (List of Number)

  • lookback_time (String)

Nested Schema for rule.facet


  • facet_function (String)

  • facet_values (List of String)

  • lookback_time (String)

  • time_function (String)

  • time_value (Number)

Nested Schema for rule.group_by_group


  • columns (List of String)

  • group_name (String)

Nested Schema for rule.promote


  • description_field (String)

  • kind_field (String)

  • primary_key (List of String)

Nested Schema for notification_spec


  • importance (String)

  • merge (String)

  • notify_on_close (Boolean)

  • notify_on_reminder (Boolean)

  • reminder_frequency (String)

Nested Schema for stage


  • alias (String) The stage alias is the label by which subsequent stages can refer to the results of this stage.

  • input (String) The stage input defines what input should be used as a starting point for the stage pipeline. It must refer to a label contained in inputs, or a previous stage alias. The stage input can be omitted if inputs contains a single element.

  • pipeline (String) An OPAL snippet defining a transformation on the selected input.