- Incident response. FireHydrant pushes each new incident to ewake, and ewake investigates it in the incident’s Slack channel.
- Alert source. FireHydrant Signals pushes alerts to ewake, and ewake investigates each one.
- Incident details. During an investigation, ewake reads a FireHydrant incident by its id, and finds the incident of a Slack channel it is invited to.
- Write-back. After an investigation, ewake finds the matching FireHydrant alert and posts the investigation on it as a comment.
Which setup you need
Connect the API key
The API key lets ewake read incidents and alerts, page people from a follow-up action, and post comments for the write-back.Prerequisites
- A FireHydrant account with permission to create API keys
- At least read access to incidents, severities and services on the key. Ewake refuses a key that can’t read all three.
- For the write-back, a key whose role has the
respond_to_alertspermission, so ewake can post comments on Signals alerts - To page people from a follow-up action, a key whose role has the
create_alertspermission
Create an API key in FireHydrant
Open the FireHydrant integration in ewake
Fill in the fields
Test and save
Set up the FireHydrant webhook
The FireHydrant integration has one webhook. You set it up once, and every ewake flow that reads FireHydrant uses it: incidents go to your incident flows, and Signals alerts go to your On-Call flows of FireHydrant. Each flow takes the events that its own conditions match.Prerequisites
- FireHydrant is connected with an API key
- A FireHydrant account with access to Settings → Webhooks
Open the webhook of the integration in ewake
Create a webhook in FireHydrant
Subscribe to incidents and alerts
Paste the secret in ewake
Investigate each FireHydrant incident
With the webhook set up, ewake investigates each incident that FireHydrant declares. It joins the incident’s Slack channel by itself, posts its first message there, and runs the investigation in that thread.Create an incident flow
Choose what ewake does
When ewake starts
FireHydrant creates the Slack channel of an incident a few seconds after it declares the incident, so its first pushes carry no channel. Ewake waits, and starts on the first push that carries the incident’s Slack channel. FireHydrant sends a push when the incident changes, for example a new milestone, a note or a new severity.Send Signals alerts to ewake
FireHydrant Signals can push alerts straight to ewake. Each alert starts an investigation, and ewake posts it in your on-call channels in Slack.Create the flow
Create a new flow
Copy the URL and the signing key
Connect FireHydrant
Option 1, Signals webhook target (recommended)
An escalation policy step pages ewake, as it pages a person.Add a webhook target
Paste the URL and the key
Add the target to your escalation policies
Option 2, org webhook
The org webhook sends every Signals alert of your organization. The webhook of the integration is this org webhook, set up once for all your flows. If you set it up, every FireHydrant flow already receives the Signals alerts, and you do not need the steps below. To give one flow an org webhook of its own instead:Add a webhook
Subscribe to Signals
What ewake reads from each option
service and environment from the alert tags, in the form service:checkout-api and environment:production (or env:production). Tag your alerts this way to filter them in What ewake investigates.
Post the investigation on the FireHydrant alert
Ewake can write its investigation back to FireHydrant. It posts a comment on the Signals alert, and the people who follow the alert in FireHydrant see it. This is useful when your team works the alert in FireHydrant and not in Slack.Prerequisites
- The FireHydrant API key is connected
- An On-Call flow, with any source. For example, a Datadog alert in Slack whose monitor also opens a FireHydrant alert.
Set up the follow-up action
Open the follow-up actions of the flow
Describe the action
Parse and review
How ewake finds the alert
Ewake lists the FireHydrant alerts around the time the alert fired. It then compares the ids in the source alert, such as a Datadog monitor id or event id, with the text of each FireHydrant alert. Name the ids to match in the action text to make the match reliable.What the write-back can do
- It posts one comment per alert in each investigation. A retry in the same investigation does not post a second comment.
- It cannot change, acknowledge or resolve the alert.
- It never runs in the Playground, which only reads.
What ewake reads and writes
Related
On-Call Agent
Incident.io
Need help connecting FireHydrant? Contact support@ewake.ai.