mirror of
https://github.com/zulip/zulip.git
synced 2026-06-24 21:08:25 +08:00
docs: Updated New Relic documentation.
The docs are updated to work with the new webhook and new process on https://one.newrelic.com.
This commit is contained in:
parent
b652cc786c
commit
ec00557962
Binary file not shown.
|
Before Width: | Height: | Size: 15 KiB |
BIN
static/images/integrations/newrelic/ack.png
Normal file
BIN
static/images/integrations/newrelic/ack.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 35 KiB |
BIN
static/images/integrations/newrelic/closed.png
Normal file
BIN
static/images/integrations/newrelic/closed.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 33 KiB |
BIN
static/images/integrations/newrelic/newrelic.png
Normal file
BIN
static/images/integrations/newrelic/newrelic.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
BIN
static/images/integrations/newrelic/opened.png
Normal file
BIN
static/images/integrations/newrelic/opened.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 46 KiB |
@ -1,16 +1,25 @@
|
||||
New Relic can send messages to a Zulip stream for alerts and
|
||||
deploys.
|
||||
New Relic can send messages to a Zulip stream for incidents.
|
||||
|
||||
{!create-stream.md!}
|
||||
1. {!create-stream.md!}
|
||||
|
||||
{!create-bot-construct-url.md!}
|
||||
1. {!create-bot-construct-url-indented.md!}
|
||||
|
||||
Next, in your New Relic Account Settings page, click
|
||||
**Integrations**, then **Alerting notifications**. On the
|
||||
**Webhook** tab, enter the webhook URL created earlier:
|
||||
1. On [New Relic](https://one.newrelic.com),
|
||||
select **Alerts & AI**.
|
||||
|
||||

|
||||
1. Navigate to **Notification channels**.
|
||||
|
||||
1. Create a new notification channel. Select channel type of **Webhook**, choose a name (e.g. "Zulip"), enter the webhook url created earlier as **Base Url**.
|
||||
|
||||
1. It should look like:
|
||||

|
||||
|
||||
1. The webhook works with the default payload, click **Create channel**.
|
||||
|
||||
1. After creating the channel send a test notification to make sure it works.
|
||||
|
||||
{!congrats.md!}
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
@ -84,16 +84,6 @@ No details.
|
||||
)
|
||||
self.assertIn("The newrelic webhook requires current_state be in [open|acknowledged|closed]", e.exception.args[0])
|
||||
|
||||
def test_missing_duration(self) -> None:
|
||||
with self.assertRaises(AssertionError) as e:
|
||||
self.check_webhook(
|
||||
"incident_missing_duration",
|
||||
"",
|
||||
"",
|
||||
content_type="application/json",
|
||||
)
|
||||
self.assertIn("The newrelic webhook requires duration in milliseconds", e.exception.args[0])
|
||||
|
||||
def test_missing_timestamp(self) -> None:
|
||||
with self.assertRaises(AssertionError) as e:
|
||||
self.check_webhook(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user