Set up alerts for Openflow

Openflow alerts are Snowflake alerts that are based on Openflow telemetry. Snowflake provides alert templates for Openflow connectors and runtimes. An alert created from a template regularly queries the event table and notifies you when its condition is met. The template defines the condition and the action, and you supply only the settings: connectors, runtimes, or deployments to monitor, and the notification type and target.

Note

Templates come in separate gen 1 and gen 2 versions. Each version monitors only connectors and runtimes of its own generation, so to monitor both, create an alert for each version.

Before you begin

Create an alert from a template

In Snowsight, choose a template from the OPENFLOW template group. See Creating a new alert. To create the alert with SQL, see Creating an alert from a template with SQL.

Connector templates

The following templates monitor connectors. Each alert notification identifies the connector and links to its details page in Snowsight.

TemplateDescriptionSettings
Connector backpressure (object count)

Fires when a connection of a connector applies back pressure based on the number of queued FlowFiles for at least the configured fraction of the lookback window. Can be configured for the account, a deployment, a runtime, or a connector.

  • Alert threshold: Fraction of the lookback window that back pressure must be applied for.
    Default: 0.1.
  • Lookback window (minutes):
    Default: 60.
Connector backpressure (bytes)

Fires when a connection of a connector applies back pressure based on the size of queued FlowFiles for at least the configured fraction of the lookback window. Can be configured for the account, a deployment, a runtime, or a connector.

  • Alert threshold: Fraction of the lookback window that back pressure must be applied for.
    Default: 0.1.
  • Lookback window (minutes):
    Default: 60.
High queued count alert

Fires when the number of FlowFiles queued in a connection of a connector exceeds a fraction of the back pressure threshold for at least the configured fraction of the lookback window. Can be configured for the account, a deployment, a runtime, or a connector.

  • High threshold: Fraction of the back pressure threshold.
    Default: 0.8.
  • Alert threshold: Fraction of the lookback window that the queue must exceed the threshold for.
    Default: 0.1.
  • Lookback window (minutes):
    Default: 60.
High queued bytes alert

Fires when the size of the FlowFiles queued in a connection of a connector exceeds a fraction of the back pressure threshold for at least the configured fraction of the lookback window. Can be configured for the account, a deployment, a runtime, or a connector.

  • High threshold: Fraction of the back pressure threshold.
    Default: 0.8.
  • Alert threshold: Fraction of the lookback window that the queue must exceed the threshold for.
    Default: 0.1.
  • Lookback window (minutes):
    Default: 60.
High error rate alertFires when the components of a connector log at least the threshold number of errors during the lookback window. Can be configured for the account, a deployment, a runtime, or a connector.
  • Alert threshold (error count):
    Default: 10.
  • Lookback window (minutes):
    Default: 60.
No data alert

Fires when a connector doesn’t receive data or doesn’t send data during the lookback window. Can be configured for the account, a deployment, a runtime, or a connector.

Lookback window (hours):
Default: 4.
Openflow connector health alert

Fires when a connector becomes unhealthy. The definition of health differs across connector types. Can be configured for the account, a deployment, a runtime, or a connector.

Lookback window (hours):
Default: 1.

Runtime templates

The following templates monitor runtimes. Each alert notification identifies the runtime.

TemplateDescriptionSettings
Out of memory alert

Fires when a runtime logs at least the threshold number of OutOfMemoryError errors during the lookback window. Can be configured for the account, a deployment, or a runtime.

  • Alert threshold (OutOfMemoryError count):
    Default: 1.
  • Lookback window (minutes):
    Default: 60.
High runtime storage usage alert

Fires when the disk usage of a runtime reaches the threshold. Can be configured for the account, a deployment, or a runtime.

Storage usage threshold: Fraction of the storage capacity.
Default: 0.85.

Connector-specific templates

Some connectors have additional alerts that are based on metrics specific to them. For those templates, see the monitoring page of the connector: