Integrate Spike with Last9
Send Last9 alerts to Spike so a firing alert reaches your on-call team by phone, SMS, Slack or Teams, and resolves when Last9 sends the recovery.
Last9 is an observability platform. Its alerting watches the indicators of your entities (services, for example) and notifies a channel when an alert rule breaches.
Last9 notifications use the PagerDuty Events v2 shape. Add a webhook channel in Last9 that points at a Spike integration URL and a breached alert pages your on-call rotation, every repeat notification lands on the incident already open instead of paging again, and the incident resolves itself when Last9 sends the recovery.
Nothing is installed anywhere. One notification channel, configured once, covers every alert rule that uses it.
What Spike does with each notification
Every delivery carries an event_action, and that field decides what Spike does with it.
event_action
What Spike does
trigger
Opens an incident and pages. If an incident with the same dedup_key is already open, the notification lands on it instead.
acknowledge
Treated like trigger: it joins the open incident with the same dedup_key and never resolves it. Last9 lists it as a possible event type; it is not known to be sent in practice.
resolve
Resolves the open incident with the same dedup_key. A recovery never opens a new incident.
Incident identity
Spike identifies the incident by dedup_key, which Last9 keeps the same for one alert across its trigger and resolve notifications (it is at most 255 characters). The key is what makes a repeat join the open incident and a recovery resolve it, so the title is for display only.
Spike matches the key exactly as Last9 sends it, whether it is a string or a number.
If a delivery carries no dedup_key, or an empty one, Spike falls back to matching on the title. The title is built so that it stays the same across notifications for the same alert. A recovery without a dedup_key resolves the incident only when its payload.summary, description, expression and entity_name are the same as those of the notification that opened the incident. It never resolves an incident that was opened with a dedup_key.
Incident title
Last9 writes a sentence about what is wrong in payload.summary ("Title for the incident"), and that sentence is the title, with whitespace collapsed and capped at 200 characters:
When payload.summary is empty, the title is built from what the rule carries, in this order:
payload.custom_details.description, the description written on the alert rule.payload.custom_details.expressiononpayload.custom_details.entity_name, for examplehttp_5xx_ratio on checkout-api. When only one of the two is present, that one is the title on its own. An entity ofNonecounts as empty.Last9 alert with no detailswhen nothing usable is present.
A recovery is written as Resolved: followed by the same title:
The title carries no ids, URLs or readings. Those are on the incident page.
Use a Title Remapper if you would rather read Last9 alerts by service and indicator:
Severity
Spike reads every key named severity in the body, and the last one it finds wins. In the body Last9 sends, that is payload.custom_details.severity (for example breach), which is not a severity Spike recognises, so the badge is not set and incidents open at your integration's default. If a body has no custom_details.severity, payload.severity (for example critical) sets the badge instead. To set the severity yourself from Last9's levels, write an alert rule on payload.severity. Read more about priority and severity.
Prerequisites
A Last9 account with permission to create notification channels and edit alert rules
A Last9 integration in Spike and its webhook URL
Nothing to open on your own network. Last9 calls out to Spike
Step 1 — Create the integration in Spike
In Spike, go to Integrations → Add integration → Last9, 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 notification channel in Last9
Sign in to Last9 at https://app.last9.io and open the notification channel settings for your organisation.
Add a new channel and choose Webhook.
Fill in the channel. The URL is the only required field; give the channel a name your team will recognise, for example
Spike:Name — for example
SpikeURL — the webhook URL from Step 1
Enable Send Resolved so Last9 sends a recovery and Spike can resolve the incident.
Save the channel.
Treat the webhook URL like a password. If it leaks, archive the integration in Spike, create a new one and update the channel in Last9.
Archive an integrationStep 3 — Point your alert rules at the channel
A channel receives nothing until an alert rule notifies it. Open each alert rule you want paged, add the channel from Step 2 as a notification destination, and save.
Step 4 — Confirm it end to end
Let an alert rule breach, or temporarily lower a threshold. An incident opens in Spike with Last9's sentence as the title, on the service you attached.
A repeat notification for the same alert lands on that incident without paging again.
When the alert recovers, the incident resolves itself and the event reads
Resolved:followed by the title.
Payload reference
Last9 sends its own payload; there is no template to edit. A firing notification, which opens the incident:
The recovery for the same alert. dedup_key is the one the firing notification carried, which is what joins the two:
Spike keeps the whole body on the incident, so every field above is available to alert rules and the Title Remapper as data.body.<field>.
Things worth knowing
Several Spike integrations are fine. Create one Spike integration per team and one Last9 channel per integration.
Resolving in Spike does not touch Last9. The alert recovers in Last9 on its own, and that recovery is what resolves the incident.
Without Send Resolved, nothing resolves. Enable it on the channel, or use a resolve timer as a backstop.
Troubleshooting
Disclaimer: These integration instructions are offered independently by Spike.sh, and Spike.sh is not affiliated with nor a partner of Last9.
Last updated

