OpsgenieCloseAlertOperator

Opsgenie

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

View on GitHub

Last Updated: Oct. 23, 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
identifierRequiredIdentifier of alert which could be alert id, tiny id or alert alias
identifier_typeType of the identifier that is provided as an in-line parameter. Possible values are ‘id’, ‘alias’ or ‘tiny’
userdisplay name of the request owner
noteadditional note that will be added while creating the alert
sourcesource field of the alert. Default value is IP address of the incoming request
close_alert_kwargsadditional params to pass

Documentation

This operator allows you to close alerts to Opsgenie. Accepts a connection that has an Opsgenie API key as the connection’s password. This operator 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 operator.

See also

For more information on how to use this operator, take a look at the guide: OpsgenieCloseAlertOperator

Was this page helpful?