Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

doc: Fix configurations for images in the doc of newrelic.

PIG208d8db797798bf
diff --git a/static/images/integrations/newrelic/001.png b/static/images/integrations/newrelic/001.png
new file mode 100644
index 00000000000..109effaa216
Binary files /dev/null and b/static/images/integrations/newrelic/001.png differ
diff --git a/static/images/integrations/newrelic/002.png b/static/images/integrations/newrelic/002.png
index 9c0bcdb59bb..5442a8800a8 100644
Binary files a/static/images/integrations/newrelic/002.png and b/static/images/integrations/newrelic/002.png differ
diff --git a/static/images/integrations/newrelic/003.png b/static/images/integrations/newrelic/003.png
new file mode 100644
index 00000000000..17a5fa34c66
Binary files /dev/null and b/static/images/integrations/newrelic/003.png differ
diff --git a/static/images/integrations/newrelic/ack.png b/static/images/integrations/newrelic/ack.png
deleted file mode 100644
index 4710529e5d7..00000000000
Binary files a/static/images/integrations/newrelic/ack.png and /dev/null differ
diff --git a/static/images/integrations/newrelic/closed.png b/static/images/integrations/newrelic/closed.png
deleted file mode 100644
index f78cb845713..00000000000
Binary files a/static/images/integrations/newrelic/closed.png and /dev/null differ
diff --git a/static/images/integrations/newrelic/opened.png b/static/images/integrations/newrelic/opened.png
deleted file mode 100644
index e851f32bade..00000000000
Binary files a/static/images/integrations/newrelic/opened.png and /dev/null differ
diff --git a/zerver/lib/integrations.py b/zerver/lib/integrations.py
index 8b0355f7175..20a65cb2ae6 100644
--- a/zerver/lib/integrations.py
+++ b/zerver/lib/integrations.py
@@ -746,7 +746,11 @@ DOC_SCREENSHOT_CONFIG: Dict[str, List[BaseScreenshotConfig]] = {
"mention": [ScreenshotConfig("webfeeds.json")],
"nagios": [BaseScreenshotConfig("service_notify.json")],
"netlify": [ScreenshotConfig("deploy_building.json")],
- "newrelic": [ScreenshotConfig("alert.txt", "002.png")],
+ "newrelic": [
+ ScreenshotConfig("incident_opened.json", "001.png"),
+ ScreenshotConfig("incident_acknowledged.json", "002.png"),
+ ScreenshotConfig("incident_closed.json", "003.png"),
+ ],
"opbeat": [ScreenshotConfig("error_reopen.json")],
"opsgenie": [ScreenshotConfig("addrecipient.json", image_name="000.png")],
"pagerduty": [ScreenshotConfig("trigger_v2.json")],
diff --git a/zerver/webhooks/newrelic/doc.md b/zerver/webhooks/newrelic/doc.md
index 44eb790e21c..b0d1cd0e407 100644
--- a/zerver/webhooks/newrelic/doc.md
+++ b/zerver/webhooks/newrelic/doc.md
@@ -20,6 +20,6 @@ New Relic can send messages to a Zulip stream for incidents.
{!congrats.md!}
-![](/static/images/integrations/newrelic/opened.png)
-![](/static/images/integrations/newrelic/ack.png)
-![](/static/images/integrations/newrelic/closed.png)
+![](/static/images/integrations/newrelic/001.png)
+![](/static/images/integrations/newrelic/002.png)
+![](/static/images/integrations/newrelic/003.png)