PagerDuty
Extracts services and recent incidents from PagerDuty using the PagerDuty REST API v2. It emits service and incident entities, plus edges for team ownership and the service each incident belongs to.
Usage
source:
name: pagerduty
scope: my-scope
config:
api_key: your-pagerduty-api-keyConfiguration
| Key | Type | Description | Required |
|---|---|---|---|
api_key | string | PagerDuty API key used for authentication. | Yes |
exclude | []string | Service IDs to skip during extraction. | No |
incident_days | int | How many days back to look for incidents. Default: 30. | No |
Output
Two entity types are emitted:
service— URN pattern:urn:pagerduty:{scope}:service:{service_id}incident— URN pattern:urn:pagerduty:{scope}:incident:{incident_id}
Notable properties:
- Service:
status,description,created_at,updated_at,html_url,escalation_policy_id,alert_creation,incident_urgency_rule, andteam_ids(comma-separated, when present). - Incident:
status,urgency,created_at,html_url,incident_number,title, plusresolved_atandprioritywhen set.
Edges
| Edge type | From | To |
|---|---|---|
owned_by | service | team |
belongs_to | incident | service |
Notes
- A service with more than one team gets one
owned_byedge per team. - Incidents on excluded services are skipped along with the service.