Get started with Opsgenie as a user
Learn how to configure your profile, get notifications from Opsgenie and view on-call schedules.
Use the Honeycomb integration to forward Honeycomb triggers to Opsgenie. Opsgenie determines the right people to notify based on on-call schedules– notifies via email, text messages (SMS), phone calls, iOS & Android push notifications, and escalates alerts until they are acknowledged or closed.
When a dataset query creates a trigger with the integration, it creates an alert in Opsgenie.
Honeycomb is an API-based integration. Setting it up involves the following steps:
Add a Honeycomb integration in Opsgenie
Configure the integration in Honeycomb
If you're using Opsgenie's Free or Essentials plan or if you’re using Opsgenie with Jira Service Management's Standard plan, you can add this integration from your team dashboard only. The Integrations page under Settings is not available in your plan.
Go to Teams and select your team.
Select Integrations on the left navigation and then select Add integration.
Adding the integration from your team dashboard will make your team the owner of the integration. This means Opsgenie will assign the alerts received through this integration to your team only. Follow the rest of the steps in this section to set up the integration.
To add a Honeycomb integration in Opsgenie:
Go to Settings > Integrations.
Select Add integration.
Run a search and select “Honeycomb”.
On the next screen, enter a name for the integration.
Optional: Select a team in Assignee team if you want a specific team to receive alerts from the integration.
Select Continue.
The integration is saved at this point.
Expand the Steps to configure the integration section and copy the integration URL, which includes Opsgenie’s endpoint and the API key.
You will use this URL while configuring the integration in Honeycomb later.
Select Turn on integration.
The rules you create for the integration will work only if you turn on the integration.
In Honeycomb, from the bottom of the left menu, select Usage.
Go to the Integrations tab.
In the Trigger Recipients section, select Add Integration.
Select Webhook for Provider.
Enter values for Name and Team-oncall.
Paste the URL you copied while adding the integration in Opsgenie into Webhook URL.
Paste the API key you copied while adding the integration in Opsgenieinto Shared Secret.
Select Add.
Select Test to check your integration.
When you select "Test" for integration, it does not send "result_groups" and "result_groups_triggered" in the JSON. You can test these using a Trigger Test.
Sample WebHook message (in JSON format)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"version": "v0.1.0",
"id": "abdcefg",
"name": "Opsgenie alert",
"trigger_description": "This is an alert trigger for Opsgenie",
"trigger_url": "https://ui.honeycomb.io/team/datasets/dataset/triggers/honeycomb",
"status": "TRIGGERED",
"summary": "Triggered: trig on dataset",
"description": "Currently greater than threshold value (2) for key1:opsgenie (value 5)",
"operator": "greater than",
"threshold": 2,
"result_url": "",
"result_groups": [
{
"Group": { "key1": "opsgenie" },
"Result": 5
},
{
"Group": { "key1": "works" },
"Result": 1
},
{
"Group": { "key1": "like charm" },
"Result": 1
}
],
"result_groups_triggered": [
{
"Group": { "key1": "opsgenie" },
"Result": 5
}
]
}
Was this helpful?