Integrate Spike with Atatus
Send Atatus alerts to Spike so a breached threshold alerts your on-call team by phone, SMS, Slack or Teams, and resolves when Atatus closes the incident.
Atatus is a full-stack observability platform covering APM, logs, infrastructure, uptime and real user monitoring. Its alerting opens an incident when an alert rule's condition is breached, and closes it when the condition returns to normal or someone closes it by hand.
Atatus can post each of those moves to a webhook. Point a webhook at a Spike integration URL and an Atatus incident pages your on-call rotation when it opens, repeats of the same Atatus incident land on the incident already open instead of paging again, and the Spike incident resolves itself when Atatus closes the incident.
What Spike does with each notification
Spike reads the status field of every delivery. Matching ignores case and surrounding spaces.
status
What Spike does
Opened
Opens an incident, or joins the open one with the same incident_id
Closed
Resolves the open incident with the same incident_id. It never opens an incident on its own
Acknowledged
Joins the open incident and never resolves it
Resolved, OK and Cleared are treated like Closed. A missing or unrecognised status opens an incident, so a notification is never silently dropped.
Incident titles
The title is Atatus's own sentence for the condition that fired, taken from description:
Response Time goes above 2000 msIf description is empty, Spike uses {rule_name} on {target_name}, then rule_name alone when there is no target, then alert_policy_name. If none of them is present the title is Atatus alert with no details. Spaces are collapsed and titles are capped at 200 characters.
A recovery is titled with the same title plus — resolved:
Response Time goes above 2000 ms — resolvedMatching is done on incident_id, not on the title, so an Opened and a Closed notification of one Atatus incident always pair up. Without an incident_id, Spike falls back to matching the exact title, which only works while description does not change between notifications. A Closed notification resolves an incident only when both carry the same incident_id, or neither carries one.
Severity
Spike reads the severity field onto the incident's severity badge: Critical becomes SEV1 and Warning becomes SEV2. Use an alert rule on severity if you want a different mapping. Read more about priority and severity.
Prerequisites
An Atatus account that can manage alert channels and alert policies
An Atatus integration in Spike and its webhook URL
Step 1 — Create the integration in Spike
In Spike, go to Integrations → Add integration → Atatus, attach it to a service and an escalation policy, and copy the webhook URL. It looks like https://hooks.spike.sh/<your-token>/push-events.
Step 2 — Add a webhook in Atatus
Sign in to Atatus and open Alerting from the side menu.
Open Alert Channels (the Integrations / notification channels page) and choose Webhook.
Paste the Spike webhook URL from Step 1 into the webhook URL field, give the channel a name such as
Spike, and save.Attach the channel to your alert policies. Open Alerting → Alert Policies, edit the policy (or create one), and add the Spike webhook under its notification channels. Save the policy.
Atatus sends a JSON POST for every incident the policy opens and closes. Menu names can differ slightly between Atatus plans; look for the webhook option under your alert channels.
What Atatus sends
An Opened notification:
The Closed notification of the same incident carries the same fields with status set to Closed, plus duration:
Fields Spike reads
status
Yes
Opened, Closed or Acknowledged: decides whether to open, join or resolve
severity
Optional
Critical or Warning: the incident's severity badge
incident_id
Recommended
Pairs Opened with Closed. A number or a non-empty string. Without it Spike matches on the title
description
Recommended
The incident title
target_name
Optional
Added to the title fallback when description is empty
rule_name
Optional
Title fallback when description is empty
alert_policy_name
Optional
Title fallback when description and rule_name are empty
Every other field is kept on the incident and is available to alert rules and the Title Remapper.
Step 3 — Test it
Use the webhook's test option in Atatus if it has one, or temporarily lower a rule's threshold until it fires. The incident should appear in Spike within seconds, and resolve when the Atatus incident closes.
Last updated

