Skip to main content

Overview

OpenSRE queries PagerDuty for active incidents, timelines, on-call responders, and service / escalation-policy configuration so RCA can correlate incident management data with infrastructure events.

Prerequisites

  • PagerDuty account
  • REST API key with read access

Setup

Option 1: Interactive CLI

Provide your API key when prompted.

Option 2: Environment variables

Option 3: Persistent store

Credentials

  1. In PagerDuty, go to IntegrationsDeveloper ToolsAPI Access Keys
  2. Click Create New API Key
  3. Add a description (for example opensre read-only)
  4. Copy the key immediately — it is shown only once
PagerDuty API keys are account-level. Use a read-only key for least privilege.

Investigation tools

During an investigation, OpenSRE may use these tools to:
  • Find incidents around the alert time window
  • Identify who was on-call and how quickly incidents were acknowledged
  • Map services and escalation policies involved
  • Correlate PagerDuty timelines with Grafana / Datadog metrics

Verify

Expected output:

Troubleshooting

Security

  • Use a read-only API key — OpenSRE does not need to modify PagerDuty resources.
  • Store the API key in .env or your secret manager — not in source control.
  • Rotate API keys periodically via PagerDuty Developer Tools.