diff --git a/hc/api/transports.py b/hc/api/transports.py index 884f3ce2..5044f4c4 100644 --- a/hc/api/transports.py +++ b/hc/api/transports.py @@ -579,7 +579,6 @@ class Zulip(HttpTransport): return self.post(url, data=data, auth=auth) - class Spike(HttpTransport): def notify(self, check): url = self.channel.value @@ -587,7 +586,7 @@ class Spike(HttpTransport): payload = { "title": tmpl("spike_title.html", check=check), "message": tmpl("spike_description.html", check=check), - "status": check.status + "status": check.status, } return self.post(url, json=payload, headers=headers) diff --git a/static/img/integrations/setup_spike_1.png b/static/img/integrations/setup_spike_1.png index 435d93e2..3f02476e 100644 Binary files a/static/img/integrations/setup_spike_1.png and b/static/img/integrations/setup_spike_1.png differ diff --git a/static/img/integrations/setup_spike_2.png b/static/img/integrations/setup_spike_2.png index 1a39ff7c..2443fa49 100644 Binary files a/static/img/integrations/setup_spike_2.png and b/static/img/integrations/setup_spike_2.png differ diff --git a/static/img/integrations/spike.png b/static/img/integrations/spike.png index ba53a13a..23ce8f4d 100644 Binary files a/static/img/integrations/spike.png and b/static/img/integrations/spike.png differ diff --git a/templates/front/channels.html b/templates/front/channels.html index 0577805b..b0e12c38 100644 --- a/templates/front/channels.html +++ b/templates/front/channels.html @@ -278,7 +278,7 @@ class="icon" alt="PagerTree icon" />

PagerTree

-

DevOps Incident Management - On-Call Schedules, Alerts, & Notifications

+

DevOps Incident Management - On-Call Schedules, Alerts, & Notifications.

Add Integration @@ -334,12 +334,12 @@ Add Integration {% endif %} - +
  • Spike.sh icon

    Spike.sh

    -

    No BS Incident management with unlimited alerts and on-call schedules

    +

    Incident management with unlimited alerts and on-call schedules.

    Add Integration
  • @@ -348,7 +348,7 @@
  • Telegram icon - +

    Telegram

    A messaging app with a focus on speed and security.

    Add Integration diff --git a/templates/integrations/add_opsgenie.html b/templates/integrations/add_opsgenie.html index 3235c665..d7657c85 100644 --- a/templates/integrations/add_opsgenie.html +++ b/templates/integrations/add_opsgenie.html @@ -20,7 +20,7 @@

    Log into your OpsGenie account, - go to Settings > Integration list, + go to Settings › Integration list, and add a new "API" integration.

    diff --git a/templates/integrations/add_spike.html b/templates/integrations/add_spike.html index 540a1210..e4480f27 100644 --- a/templates/integrations/add_spike.html +++ b/templates/integrations/add_spike.html @@ -9,8 +9,9 @@

    Spike.sh

    -

    If you are using Spike.sh, make sure to please copy the Healthchecks webhook - and paste it here. Read through the instructions.

    +

    If you are using Spike.sh, + 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.

    Setup Guide

    @@ -18,17 +19,14 @@

    - Create a Healthchecks integration by clicking on add - integration on Spike.sh’s dashboard. + Log into your Spike.sh account and go to + Integrations › New Integration. + Select "Healthchecks" and click "Next".

    -
    - - Click create integration button -
    + Click create integration button
    @@ -36,7 +34,8 @@

    - After you have created the integration, click on copy webhook. + After you have created the integration, click on + Copy Webhook.

    @@ -50,19 +49,13 @@

    - This modal with the details for the webhook will show up. Copy that webhook and paste it below. Make - sure you have Healthchecks integration’s webhook so Spike.sh can create and resolve incidents - automatically. - + Copy the shown webhook URL and paste it in the form below. + Save the integration, and you are done!

    -
    - - - Copy the Webhook URL -
    + Copy the Webhook URL
    @@ -71,7 +64,7 @@
    {% csrf_token %}
    - +