Files
upstream-zulip/zerver/webhooks/newrelic/doc.md
upstream-mirror 64898b2c79
Some checks failed
Code scanning / CodeQL (push) Failing after 15s
Zulip production suite / Ubuntu 22.04 production build (push) Failing after 26s
Zulip production suite / Debian 12 production install with custom db name and user (push) Has been skipped
Zulip production suite / Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga (push) Has been skipped
Zulip production suite / Ubuntu 24.04 production install (push) Has been skipped
Zulip production suite / Ubuntu 26.04 production install (push) Has been skipped
Zulip production suite / Debian 13 production install (push) Has been skipped
Zulip production suite / 7.0 Version Upgrade (push) Has been skipped
Zulip production suite / 8.0 Version Upgrade (push) Has been skipped
Zulip production suite / 6.0 Version Upgrade (push) Has been skipped
Zulip production suite / 10.0 Version Upgrade (push) Has been skipped
Zulip production suite / 9.0 Version Upgrade (push) Has been skipped
Zulip production suite / 12.0 Version Upgrade (push) Has been skipped
Zulip production suite / 11.0 Version Upgrade (push) Has been skipped
GitHub Actions Security Analysis with zizmor / zizmor (push) Failing after 3s
Zulip CI / Debian 12 (Python 3.11, backend + documentation) (push) Failing after 26s
Zulip CI / Ubuntu 22.04 (Python 3.10, backend + frontend) (push) Failing after 3s
Zulip CI / Ubuntu 24.04 (Python 3.12, backend) (push) Failing after 25s
Zulip CI / Ubuntu 26.04 (Python 3.14, backend) (push) Failing after 25s
Zulip CI / Debian 13 (Python 3.13, backend) (push) Failing after 28s
Zulip production suite / Required jobs (push) Has been cancelled
Zulip CI / Required jobs (push) Has been cancelled
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
snapshot of https://github.com/zulip/zulip.git @ 48c69911c7dd4e03b20552eb3bd77ad8151c1357 (2026-09-15)
2026-09-15 15:05:30 +05:00

77 lines
2.7 KiB
Markdown

# Zulip New Relic integration
Get Zulip notification for New Relic incidents.
{start_tabs}
1. {!create-an-incoming-webhook.md!}
1. {!generate-webhook-url-basic.md!}
1. In New Relic, go to the **Alerts** menu, and select **Destinations**.
Choose **Webhook** in the **Add a destination** section.
1. Set a **Webhook name**, such as `Zulip`. Set the **Endpoint URL** to
the URL generated above. Click **Save destination**.
1. In the **Alerts** menu, select **Workflows**. Click on
**+ Add a Workflow**.
1. Set your workflow name, and filter the trigger conditions. In the
**Notify** section, choose **Webhook**. In the **Edit notification
message** menu, select the destination for Zulip created above.
1. In the **Payload** section, you can configure the payload for this
workflow. The default payload template is sufficient to get the
integration working, but using the message template below will enable
the integration to notify you of any **acknowledged** New Relic
incidents. To include additional custom fields, refer to
[configuration options](#configuration-options):
{
{% raw %}
"id": {{ json issueId }},
"issueUrl": {{ json issuePageUrl }},
"title": {{ json annotations.title.[0] }},
"priority": {{ json priority }},
"totalIncidents": {{json totalIncidents}},
"state": {{ json state }},
"createdAt": {{ createdAt }},
"updatedAt": {{ updatedAt }},
"alertPolicyNames": {{ json accumulations.policyName }},
"alertConditionNames": {{ json accumulations.conditionName }},
"owner": {{ json owner }},
"zulipCustomFields": {}
{% endraw %}
}
1. Click **Send test notification** to receive a test notification. Select
**Save message**, and click **Activate Workflow**.
{end_tabs}
{!congrats.md!}
![](/static/images/integrations/newrelic/001.png)
### Configuration options
* With New Relic's [custom payload feature][1], you can include custom
fields in your Zulip notifications by configuring a `zulipCustomFields`
dictionary in your notification payload template. The keys of
`zulipCustomFields` will be displayed in the Zulip notification
message, so we recommend that they be human-readable and descriptive.
The values of the dictionary can be strings, integers, booleans, or
lists of the those same data types.
### Related documentation
* [**New Relic webhook integration**][2]
* [**New Relic message templates**][1]
{!webhooks-url-specification.md!}
[1]: https://docs.newrelic.com/docs/alerts-applied-intelligence/notifications/message-templates/
[2]: https://docs.newrelic.com/docs/alerts/get-notified/notification-integrations/#webhook