Linking PagerDuty as a source

Alpha release

This source is currently in alpha. The interface and available tables may change.

The PagerDuty connector pulls your PagerDuty incident and on-call data into the PostHog data warehouse.

Adding a data source

  1. Go to the sources tab of the data pipeline section in PostHog.
  2. Click + New source and then click Link next to PagerDuty.
  3. You need a PagerDuty REST API key. In your PagerDuty account, go to Integrations → API Access Keys and create a key, selecting the Read-only option — that's all this source needs.
  4. Back in PostHog, enter the key in the API key field and click Next.
  5. Select the tables you want to sync, set the sync method and frequency, then click Import.

Once the syncs are complete, you can start using PagerDuty data in PostHog.

Available tables

TableDescriptionSync method
incidentsIncidents in your accountIncremental
log_entriesLog entries recording activity on incidentsFull refresh
servicesServices that incidents are raised againstFull refresh
usersPagerDuty usersFull refresh
teamsTeams in your accountFull refresh
escalation_policiesEscalation policiesFull refresh
schedulesOn-call schedulesFull refresh
prioritiesIncident prioritiesFull refresh
vendorsIntegration vendorsFull refresh

Incremental tables sync only new or updated records on each run. Full refresh tables reload all data on each sync.

Sync limitations

Incremental sync on incidents filters on created_at, so it only picks up newly created incidents. Status changes to incidents created before the cursor are not re-fetched.

Configuration

OptionTypeRequired
API keypasswordYes

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
incidents

An incident representing a problem on a service that requires response.

Incremental, Full refreshcreated_at
log_entries

A log entry recording an action or change on an incident (triggered, acknowledged, notified, etc.).

Full refresh
services

A service representing an application, component, or team monitored in PagerDuty.

Full refresh
users

A user account in the PagerDuty account.

Full refresh
teams

A team that groups users, services, and escalation policies in PagerDuty.

Full refresh
escalation_policies

An ordered set of escalation rules that determine who is notified when an incident is not handled.

Full refresh
schedules

An on-call schedule defining which users are on call over time.

Full refresh
priorities

A priority level that can be assigned to incidents to rank their importance.

Full refresh
vendors

A third-party vendor that integrates with PagerDuty (e.g. a monitoring tool).

Full refresh

Community questions

Was this page useful?

Questions about this page? or post a community question.