OpsgenieAlertHook
OpsgenieThis 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
.
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.