PagerDuty Integration
In Flashduty
Using Private Integration
Expand
1.
2.
3.
4.
Using Shared Integration
Expand
1.
2.
3.
Route
to configure more routing rules)4.
5.
In PagerDuty
Request URL
{api_host}/event/push/alert/pagerduty
PagerDuty V2 Events
Reference Documentation:
Authentication Methods:
PagerDuty V1 Events
Reference Documentation:
Authentication Methods:
Configuration Example
1.
{api_host}/event/push/alert/pagerduty?integration_key=xxx
2.

3.
name: "b"
type: "frequency"
index: "pgy_audit*"
is_enabled: true
num_events: 1
realert:
minutes: 1
terms_size: 50
scan_entire_timeframe: true
timeframe:
minutes: 60
timestamp_field: "created_at"
timestamp_type: "unix_ms"
use_strftime_index: false
alert_subject: "Test {0} 123 aa☃ {1}"
alert_subject_args:
- "account_id"
- "operation"
alert_text: "Test {0} 123 bb☃ {1}"
alert_text_args:
- "request_id"
- "operation_name"
filter:
- query:
query_string:
query: "created_at:*"
# ------- FlashDuty ----------------
alert: pagerduty
pagerduty_service_key: xxx
pagerduty_client_name: wahaha
pagerduty_api_version: v2
pagerduty_v2_payload_class: ping failure
pagerduty_v2_payload_component: mysql
pagerduty_v2_payload_group: app-stack
pagerduty_v2_payload_severity: error
pagerduty_v2_payload_source: mysql.host.name
# ------- FlashDuty ----------------
4.
修改于 2025-03-27 07:50:27