Integrating Loadster with Opsgenie

Opsgenie is a modern incident management tool for operating always-on services. It’s a popular way to receive alerts of downtime and other incidents, escalate or assign them to the right people, and improve your time to issue resolution.

The Opsgenie integration is mostly of interest if you’re using Speedway, powered by Loadster, for 24x7 site and API monitoring. You can enable and configure the Opsgenie integration in either Loadster or Speedway, but it is mainly your Speedway monitors that trigger the integration to create incidents in Opsgenie.

How It Works

Whenever one of your Speedway monitors fails, it will create an incident in Opsgenie within seconds. Opsgenie then routes the incident to whoever’s on call, so you can investigate and resolve it right away.

When that same monitor recovers, because you fixed the problem or the site came back up on its own, it will automatically update the incident in Opsgenie to mark it as resolved.

With automatic incident creation and escalation, you’ll save valuable minutes and achieve better site reliability and uptime.

What You’ll Need

All you need is an Opsgenie account and a Loadster/Speedway account.

You’ll want to create at least one monitor in Speedway if you haven’t already, so there is something to report to Opsgenie. If you haven’t done that, set up your site monitors.

Enabling the Integration

Integration with Opsgenie is quick and only needs to be done once. There are two ways to do it, and they are slightly different depending on whether you want to route incidents to a specific Opsgenie team, or to everyone in your organization.

To route incidents to a specific Opsgenie team:

  1. In Opsgenie, create a team or choose an existing one, and go to the Integrations section for that team. Click the Add integration button.
  2. Select API as the integration type.
  3. Opsgenie will generate an API Key for this team integration. Copy it to your clipboard. Then submit the form.
  4. Go to the Integrations section of your Speedway dashboard.
  5. Find the Opsgenie section and click Enable Opsgenie.
  6. We’ll prompt you for the API Key that you recently created in Opsgenie. Enter it and save to enable the integration.

To route incidents to your general Opsgenie account:

  1. In Opsgenie, go to the global Settings page and navigate to the section called Integration list.
  2. Select API as the integration type.
  3. Opsgenie will generate an API Key for your account. Copy it to your clipboard. Then submit the form.
  4. Go to the Integrations section of your Speedway dashboard.
  5. Find the Opsgenie section and click Enable Opsgenie.
  6. We’ll prompt you for the API Key that you recently created in Opsgenie. Enter it and save to enable the integration.

Now that the Opsgenie integration is enabled, anytime any of your Speedway monitors fails or recovers, it will create and or resolve an incident in Opsgenie.

Getting Help

This integration is supported by the Loadster/Speedway team. We want you to get the most out of it! If you have trouble or see ways to improve it, please let us know at help@loadster.app and we’ll be glad to assist.