OpsgenieAlertHook

Opsgenie

This hook allows you to post alerts to Opsgenie. Accepts a connection that has an Opsgenie API key as the connection’s password. This hook sets the domain to conn_id.host, and if not set will default to https://api.opsgenie.com.

View on GitHub

Last Updated: Oct. 26, 2022

Access Instructions

Install the Opsgenie provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

opsgenie_conn_idThe name of the Opsgenie connection to use

Documentation

This hook allows you to post alerts to Opsgenie. Accepts a connection that has an Opsgenie API key as the connection’s password. This hook sets the domain to conn_id.host, and if not set will default to https://api.opsgenie.com.

Each Opsgenie API key can be pre-configured to a team integration. You can override these defaults in this hook.

Was this page helpful?