Skip to content

Rules

Use rules to define and capture meaningful incidents and results, so you can stay up-to-date and react to situations as they occur.

Observability provides patterns to help with the construction of meaningful rules based on a standard trigger-condition-action format.

Format

Observability defines rules as conditional if-then statements. Each rule has a trigger and causes an action if the trigger's condition is met. For example, when <a situation> <is true>, then, do <action>.

(Example of a rule pattern with predicate and action)

Triggers and conditions

A trigger is a situation or event that you select when you create a rule. You then define conditions for the trigger that must be met in order to cause an action.

Actions

An action is the outcome that occurs when a condition is met. Observability supports the following types of actions:

  • Send email: sends an email to the specified recipients.
  • Send web request: makes a web request to a URL with a specified payload.

This can be used to trigger workflows on tools that support incoming webhooks, such as Jira, Slack, Teams, or ServiceNow, or make an API call.

Define Rules

Observability Rule Triggers

Rule Patterns and Examples