Skip to main content
What you’ll get: Four workflows, which you can use together or alone:
  • 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_alerts permission, so ewake can post comments on Signals alerts
  • To page people from a follow-up action, a key whose role has the create_alerts permission
1

Create an API key in FireHydrant

In FireHydrant, go to Settings → API Keys and create a key.Copy the key immediately. FireHydrant shows it once.
2

Open the FireHydrant integration in ewake

In your ewake dashboard, go to Integrations and click the FireHydrant tile under Add more.
3

Fill in the fields

4

Test and save

Click Test connection to verify the credentials, then click Save. The test shows what the key can do. Page people and Comment on alerts are optional: ewake investigates without them.
FireHydrant is connected. Ewake can now read FireHydrant incidents during its investigations.
An integration connected before the Region option existed uses the US instance.

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

1

Open the webhook of the integration in ewake

In your ewake dashboard, go to Integrations → FireHydrant and open the card. The Webhook section shows the URL and the steps below.
2

Create a webhook in FireHydrant

In FireHydrant, go to Settings → Webhooks and create a webhook. Paste the URL from the ewake Webhook section.
3

Subscribe to incidents and alerts

Under Event Subscriptions, tick Incidents and Signals Alerts.
4

Paste the secret in ewake

FireHydrant fills the Secret of a new webhook with a key of its own. Copy it, paste it in the Secret field of the ewake Webhook section, and click Set up the webhook. Then click Create Webhook in FireHydrant.Ewake confirms that the secret is saved. It checks the signature of each push from FireHydrant with it, and refuses a push with no valid signature.
Ewake never shows the secret again. To change it, paste the new one and click Replace the Secret.

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.
1

Create an incident flow

In your ewake dashboard, go to On-call, click New on-call agent, then An incident. Under Where incidents start, tick FireHydrant under Incident trackers.
2

Choose what ewake does

Under What ewake does, keep ewake’s own incident instructions or write yours. Then keep the flow On and click Create the flow.
Ewake investigates the next FireHydrant incident in its Slack channel.

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.
FireHydrant sends no push when it only adds the Slack channel. If nothing changes on the incident after its channel exists, ewake starts on the next change. To start ewake at once, change the incident, for example set its milestone to Acknowledged.
Ewake starts one investigation for each incident. The later pushes of the same incident start nothing more, and neither do pushes of an incident that is already resolved.

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.
With the FireHydrant integration connected, a new FireHydrant flow shows no URL and no signing key. It reads the webhook of the integration, which sends every Signals alert. Create the flow, set up that webhook once, and skip the two options below.

Create the flow

1

Create a new flow

In your ewake dashboard, go to On-call → New on-call agent → An event. Pick Post in an on-call channel, then pick FireHydrant as the source.
2

Copy the URL and the signing key

When you save the flow, ewake shows its Webhook URL and a signing key. FireHydrant signs each push with this key, so ewake can trust it.
Ewake shows the signing key once. Copy it before you close the dialog. To change the key later, create a new flow, then delete the old one.
3

Connect FireHydrant

Set up one of the two options below. Use one option per flow, not both: each one sends the same alert, so ewake would investigate it twice.
An escalation policy step pages ewake, as it pages a person.
1

Add a webhook target

In FireHydrant, go to Signals → Webhook Targets and click Add Webhook Target.
2

Paste the URL and the key

Give the target a name. Paste the Webhook URL into URL, and the signing key into Signing Key. Save.
3

Add the target to your escalation policies

Add the target as a step of each escalation policy whose alerts ewake must investigate.
Ewake starts one investigation for each page.

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:
1

Add a webhook

In FireHydrant, go to Settings → Webhooks and add a webhook. Paste the flow’s Webhook URL into the URL field, and replace the Secret with the flow’s signing key.
2

Subscribe to Signals

Subscribe the webhook to Signals Alerts.
Ewake investigates each new alert. When the alert is resolved or ignored in FireHydrant, ewake marks its report resolved.

What ewake reads from each option

The webhook target reads 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.
The write-back is in early access. Contact support@ewake.ai to turn it on for your workspace.

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

1

Open the follow-up actions of the flow

In your ewake dashboard, open the flow, then go to Follow-up actions.
2

Describe the action

In the Action field, ask ewake to find the alert in FireHydrant and post the investigation on it. Say in words that it must post on the FireHydrant alert. For example:
3

Parse and review

Click Parse action. Check that the parsed action uses these two tools:Save the flow.
After the next investigation, ewake finds the FireHydrant alert and posts its investigation on it.

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

Ewake never declares incidents, changes severity, edits timelines, or changes alerts. It writes to FireHydrant only through the follow-up actions you approve.

On-Call Agent

Set up flows, rules and follow-up actions.

Incident.io

The other incident-management integration, with the same investigation benefits.

Need help connecting FireHydrant? Contact support@ewake.ai.