Skip to main content
Version: 1.0 prerelease

PagerdutyAlertAction

class great_expectations.checkpoint.PagerdutyAlertAction(*, type: Literal['pagerduty'] = 'pagerduty', name: str, notify_on: Literal['all', 'failure', 'success'] = 'failure', api_key: str, routing_key: str, severity: Literal['critical', 'error', 'warning', 'info'] = 'critical')#

Sends a PagerDuty event.

- name: send_pagerduty_alert_on_validation_result
action:
class_name: PagerdutyAlertAction
api_key: ${pagerduty_api_key}
routing_key: ${pagerduty_routing_key}
notify_on: failure
severity: critical

Parameters:
  • api_key – Events API v2 key for pagerduty.

  • routing_key – The 32 character Integration Key for an integration on a service or on a global ruleset.

  • notify_on – Specifies validation status that triggers notification. One of "all", "failure", "success".

  • severity – The PagerDuty severity levels determine the level of urgency. One of "critical", "error", "warning", or "info".