webhooks/newrelic: Migrate docs to Markdown.

This commit is contained in:
Eeshan Garg 2017-06-01 21:39:28 -02:30 committed by Tim Abbott
parent 88ed657412
commit 6e6c5c8fa6
2 changed files with 16 additions and 32 deletions

View File

@ -1,32 +0,0 @@
<p>
New Relic can send messages to a Zulip stream for alerts and
deploys.
</p>
<p>
First, create the stream you'd like to use for New Relic
notifications, and subscribe all interested parties to this stream. We
recommend the name <code>newrelic</code>.
</p>
<p>
Next, in your New Relic Account Settings page, click
"Integrations", then "Alerting notifications". On the "Webhook"
tab, enter the following webhook URL:
</p>
<p><code>{{ external_api_uri_subdomain }}/v1/external/newrelic?api_key=abcdefgh&amp;stream=newrelic</code></p>
<p>
where <code>api_key</code> is the API key of your Zulip bot,
and <code>stream</code> is the stream name you want the
notifications sent to.
</p>
<img class="screenshot" src="/static/images/integrations/newrelic/001.png"/>
<p>
<b>Congratulations! You're done!</b><br/> Your New Relic events will
appear in Zulip:
</p>
<img class="screenshot" src="/static/images/integrations/newrelic/002.png"/>

View File

@ -0,0 +1,16 @@
New Relic can send messages to a Zulip stream for alerts and
deploys.
{!create-stream.md!}
{!create-bot-construct-url.md!}
Next, in your New Relic Account Settings page, click
**Integrations**, then **Alerting notifications**. On the
**Webhook** tab, enter the webhook URL created earlier:
![](/static/images/integrations/newrelic/001.png)
{!congrats.md!}
![](/static/images/integrations/newrelic/002.png)