PagerDuty Integration
Integrate with PagerDuty to automatically create incidents from Roboticks alerts, leveraging your existing on-call schedules and escalation policies.Features
- Automatic incident creation from alerts
- Severity mapping to PagerDuty urgency
- Deduplication to prevent alert storms
- Incident resolution when alerts clear
- Custom routing to different services
Setup
Step 1: Create a Service in PagerDuty
- Log in to your PagerDuty account
- Go to Services > Service Directory
- Click New Service or use an existing service
- Note the service name for later
We recommend creating a dedicated service for Roboticks alerts to keep your incident routing organized.
Step 2: Add Events API v2 Integration
- In your PagerDuty service, go to the Integrations tab
- Click Add Integration
- Select Events API v2
- Copy the Integration Key (32-character alphanumeric string)
Step 3: Configure in Roboticks
- Go to Settings > Integrations in Roboticks
- Find PagerDuty and click Add
- Enter a name for this integration (e.g., “PagerDuty Production”)
- Paste the Integration Key
- Click Create
Configuration Options
| Option | Description | Required |
|---|---|---|
| Integration Key | Events API v2 integration key | Yes |
| Name | Display name for this integration | Yes |
| Description | Optional description | No |
| Enabled | Toggle the integration on/off | - |
| Enabled for Alerts | Create incidents from alerts | - |
Severity Mapping
Roboticks alert severities map to PagerDuty urgency:| Roboticks Severity | PagerDuty Urgency |
|---|---|
| Critical | High |
| Warning | Low |
| Info | Low (suppressed by default) |
How It Works
Deduplication
Roboticks uses a consistent deduplication key based on:- Alert rule ID
- Device ID
- Project ID
Auto-Resolution
When an alert clears in Roboticks, a resolve event is sent to PagerDuty, automatically closing the incident.Example Incident
When an alert triggers, PagerDuty receives:Troubleshooting
Incidents not being created
Incidents not being created
- Verify the Integration Key is correct
- Check that the PagerDuty service is not disabled
- Review integration logs in Roboticks for errors
Duplicate incidents
Duplicate incidents
- Ensure deduplication is working by checking the
dedup_key - Verify your PagerDuty service doesn’t have conflicting alert grouping rules
Incidents not auto-resolving
Incidents not auto-resolving
- Check that the integration is still enabled
- Verify the alert actually cleared in Roboticks
- Review PagerDuty’s incident timeline for resolve events
Wrong urgency level
Wrong urgency level
Check your alert severity in Roboticks. Critical alerts map to High urgency, all others to Low.
Best Practices
- Create dedicated services - Separate services for different environments (production, staging)
- Configure escalation policies - Ensure someone is always on-call for critical alerts
- Use PagerDuty’s alert grouping - Group related incidents to reduce noise
- Set up maintenance windows - Suppress alerts during planned maintenance