forked from GithubBackups/healthchecks
Edits to Spike setup instructions.
This commit is contained in:
parent
1f978ff80e
commit
58f16da935
@ -579,7 +579,6 @@ class Zulip(HttpTransport):
|
|||||||
return self.post(url, data=data, auth=auth)
|
return self.post(url, data=data, auth=auth)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class Spike(HttpTransport):
|
class Spike(HttpTransport):
|
||||||
def notify(self, check):
|
def notify(self, check):
|
||||||
url = self.channel.value
|
url = self.channel.value
|
||||||
@ -587,7 +586,7 @@ class Spike(HttpTransport):
|
|||||||
payload = {
|
payload = {
|
||||||
"title": tmpl("spike_title.html", check=check),
|
"title": tmpl("spike_title.html", check=check),
|
||||||
"message": tmpl("spike_description.html", check=check),
|
"message": tmpl("spike_description.html", check=check),
|
||||||
"status": check.status
|
"status": check.status,
|
||||||
}
|
}
|
||||||
|
|
||||||
return self.post(url, json=payload, headers=headers)
|
return self.post(url, json=payload, headers=headers)
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 285 KiB After Width: | Height: | Size: 100 KiB |
Binary file not shown.
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 31 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 2.6 KiB |
@ -278,7 +278,7 @@
|
|||||||
class="icon" alt="PagerTree icon" />
|
class="icon" alt="PagerTree icon" />
|
||||||
|
|
||||||
<h2>PagerTree</h2>
|
<h2>PagerTree</h2>
|
||||||
<p>DevOps Incident Management - On-Call Schedules, Alerts, & Notifications</p>
|
<p>DevOps Incident Management - On-Call Schedules, Alerts, & Notifications.</p>
|
||||||
<a href="{% url 'hc-add-pagertree' project.code %}" class="btn btn-primary">Add Integration</a>
|
<a href="{% url 'hc-add-pagertree' project.code %}" class="btn btn-primary">Add Integration</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
@ -334,12 +334,12 @@
|
|||||||
<a href="{% url 'hc-add-sms' project.code %}" class="btn btn-primary">Add Integration</a>
|
<a href="{% url 'hc-add-sms' project.code %}" class="btn btn-primary">Add Integration</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<img src="{% static 'img/integrations/spike.png' %}" class="icon" alt="Spike.sh icon" />
|
<img src="{% static 'img/integrations/spike.png' %}" class="icon" alt="Spike.sh icon" />
|
||||||
|
|
||||||
<h2>Spike.sh</h2>
|
<h2>Spike.sh</h2>
|
||||||
<p>No BS Incident management with unlimited alerts and on-call schedules</p>
|
<p>Incident management with unlimited alerts and on-call schedules.</p>
|
||||||
|
|
||||||
<a href="{% url 'hc-add-spike' project.code %}" class="btn btn-primary">Add Integration</a>
|
<a href="{% url 'hc-add-spike' project.code %}" class="btn btn-primary">Add Integration</a>
|
||||||
</li>
|
</li>
|
||||||
@ -348,7 +348,7 @@
|
|||||||
<li>
|
<li>
|
||||||
<img src="{% static 'img/integrations/telegram.png' %}"
|
<img src="{% static 'img/integrations/telegram.png' %}"
|
||||||
class="icon" alt="Telegram icon" />
|
class="icon" alt="Telegram icon" />
|
||||||
|
|
||||||
<h2>Telegram</h2>
|
<h2>Telegram</h2>
|
||||||
<p>A messaging app with a focus on speed and security.</p>
|
<p>A messaging app with a focus on speed and security.</p>
|
||||||
<a href="{% url 'hc-add-telegram' %}" class="btn btn-primary">Add Integration</a>
|
<a href="{% url 'hc-add-telegram' %}" class="btn btn-primary">Add Integration</a>
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
<span class="step-no"></span>
|
<span class="step-no"></span>
|
||||||
<p>
|
<p>
|
||||||
Log into your OpsGenie account,
|
Log into your OpsGenie account,
|
||||||
go to <strong>Settings > Integration list</strong>,
|
go to <strong>Settings › Integration list</strong>,
|
||||||
and add a new "API" integration.
|
and add a new "API" integration.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
|
@ -9,8 +9,9 @@
|
|||||||
<div class="col-sm-12">
|
<div class="col-sm-12">
|
||||||
<h1>Spike.sh</h1>
|
<h1>Spike.sh</h1>
|
||||||
|
|
||||||
<p>If you are using <a href="https://spike.sh">Spike.sh</a>, make sure to please copy the Healthchecks webhook
|
<p>If you are using <a href="https://spike.sh">Spike.sh</a>,
|
||||||
and paste it here. Read through the instructions.</p>
|
you can set up {% site_name %} to create a Spike.sh incident when a check
|
||||||
|
goes down, and resolve it when a check goes back up.</p>
|
||||||
|
|
||||||
<h2>Setup Guide</h2>
|
<h2>Setup Guide</h2>
|
||||||
|
|
||||||
@ -18,17 +19,14 @@
|
|||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<span class="step-no"></span>
|
<span class="step-no"></span>
|
||||||
<p>
|
<p>
|
||||||
Create a <strong>Healthchecks</strong> integration by clicking on <a
|
Log into your Spike.sh account and go to
|
||||||
href="https://app.spike.sh/integrations/new">add
|
<strong>Integrations › New Integration</strong>.
|
||||||
integration</a> on Spike.sh’s dashboard.
|
Select "Healthchecks" and click "Next".
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<div class="marker-wrap">
|
<img class="ai-guide-screenshot" alt="Click create integration button"
|
||||||
<span style="left: 89%; top: 19%;" class="marker"></span>
|
src="{% static 'img/integrations/setup_spike_1.png' %}" />
|
||||||
<img class="ai-guide-screenshot" alt="Click create integration button"
|
|
||||||
src="{% static 'img/integrations/setup_spike_1.png' %}" />
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -36,7 +34,8 @@
|
|||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<span class="step-no"></span>
|
<span class="step-no"></span>
|
||||||
<p>
|
<p>
|
||||||
After you have created the integration, click on copy webhook.
|
After you have created the integration, click on
|
||||||
|
<strong>Copy Webhook</strong>.
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
@ -50,19 +49,13 @@
|
|||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<span class="step-no"></span>
|
<span class="step-no"></span>
|
||||||
<p>
|
<p>
|
||||||
This modal with the details for the webhook will show up. Copy that webhook and paste it below. Make
|
Copy the shown webhook URL and paste it in the form below.
|
||||||
sure you have Healthchecks integration’s webhook so Spike.sh can create and resolve incidents
|
Save the integration, and you are done!
|
||||||
automatically.
|
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<div class="marker-wrap">
|
<img class="ai-guide-screenshot" alt="Copy the Webhook URL"
|
||||||
<span style="left: 32%; top: 59%;" class="marker"></span>
|
src="{% static 'img/integrations/setup_spike_3.png' %}">
|
||||||
|
|
||||||
<img class="ai-guide-screenshot" alt="Copy the Webhook URL"
|
|
||||||
src="{% static 'img/integrations/setup_spike_3.png' %}">
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -71,7 +64,7 @@
|
|||||||
<form method="post" class="form-horizontal">
|
<form method="post" class="form-horizontal">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<div class="form-group {{ form.value.css_classes }}">
|
<div class="form-group {{ form.value.css_classes }}">
|
||||||
<label for="post-url" class="col-sm-2 control-label">Endpoint</label>
|
<label for="post-url" class="col-sm-2 control-label">Webhook URL</label>
|
||||||
<div class="col-sm-10">
|
<div class="col-sm-10">
|
||||||
<input id="post-url" type="text" class="form-control" name="value" placeholder="https://"
|
<input id="post-url" type="text" class="form-control" name="value" placeholder="https://"
|
||||||
value="{{ form.value.value|default:"" }}">
|
value="{{ form.value.value|default:"" }}">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user