Defining Channels
Channel Configuration
All channels have the same structure:| Field | Type | Required | Description |
|---|---|---|---|
type | "webhook" | Yes | Channel type (currently only webhooks supported) |
url | string | Yes | Webhook endpoint URL |
headers | object | No | Additional HTTP headers |
Webhook Payload Structure
Pongo sends a standardized JSON payload to all webhook channels:Example Payload
Retry Behavior
Pongo automatically retries failed webhook deliveries:- Retry strategy: Exponential backoff
- Max retries: 3 (configurable via
SCHEDULER_MAX_RETRIES) - Base delay: 5 seconds (configurable via
SCHEDULER_RETRY_DELAY_MS) - Retry delays: 5s, 10s, 20s
Slack Integration
Create Slack webhook
- Go to https://api.slack.com/apps
- Click “Create New App” → “From scratch”
- Enable “Incoming Webhooks”
- Click “Add New Webhook to Workspace”
- Copy the webhook URL
Basic Slack Webhook
PagerDuty Integration
Create PagerDuty integration
- In PagerDuty, go to Services → Your Service
- Click “Integrations” → “Add Integration”
- Select “Events API v2”
- Copy the integration key
Custom Integrations
Integrate with any service that accepts webhooks:Multiple Channels
Send alerts to multiple destinations:Testing Webhooks
Test your webhook configuration:-
Use webhook.site for debugging:
-
Trigger a test alert by temporarily lowering your threshold:
-
Check scheduler logs for delivery status: