integrations: Add webhook code, API endpoint, and tests for Opbeat.

This commit is contained in:
fredfishgames
2018-01-15 16:50:12 +00:00
committed by showell
parent b0fb7aa6b2
commit 4e2b99a98b
11 changed files with 354 additions and 166 deletions

View File

@@ -330,6 +330,13 @@ WEBHOOK_INTEGRATIONS = [
WebhookIntegration('librato', ['monitoring']),
WebhookIntegration('mention', ['marketing'], display_name='Mention'),
WebhookIntegration('newrelic', ['monitoring'], display_name='New Relic'),
WebhookIntegration(
'opbeat',
['monitoring'],
display_name='Opbeat',
stream_name='opbeat',
function='zerver.webhooks.opbeat.view.api_opbeat_webhook'
),
WebhookIntegration('opsgenie', ['meta-integration', 'monitoring'], display_name='OpsGenie'),
WebhookIntegration('pagerduty', ['monitoring']),
WebhookIntegration('papertrail', ['monitoring']),