• Products
  • Get started
  • Documentation
  • Resources

Integrate Opsgenie with AppOptics

AppOptics logo

AppOptics provides a simple Web API, as well as language bindings and integration with collection agents such as "statsd" and "collectd" to make it very easy to store metric data in AppOptics data store.

AppOptics create alerts in Opsgenie when configured thresholds for metrics are exceeded.

What does Opsgenie offer AppOptics users?

Opsgenie has a webhook integration with AppOptics. Use the integration to send AppOptics incidents to Opsgenie’s API, with detailed information. Opsgenie acts as a dispatcher for AppOptics alerts, determines the right people to notify based on on-call schedules– notifies via AppOptics, text messages (SMS), phone calls and iOS & Android push notifications, and escalates alerts until the alert is acknowledged or closed.

Functionality of the integration

  • When an alert is created in AppOptics, an alert is also created in Opsgenie automatically through the integration.

  • When an alert is closed in AppOptics, the alert in Opsgenie is also closed.

Add AppOptics integration in Opsgenie

  1. Go to Opsgenie AppOptics Integration page.

Under the Free and Essentials plans, the tabs under the Team dashboard are limited to Main, Integrations, Members, and Activity Stream.

2. Specify who is notified of AppOptics alerts using the Teams field. Auto-complete suggestions are provided as you type.

3. Copy the integration API Key by clicking on the copy button or selecting. This is used in AppOptics configuration.

4. Click Save Integration.

AppOptics integration

Configuration on AppOptics

  1. In AppOptics, go to the Account Settings page.

  2. Select the Services tab.

  3. Click on Opsgenie from the list of Available Services. Click the (+) next to Configured Services to add a new service destination or click on an existing one to edit.

  4. Paste the API key you copied into "API key field.

  5. Click Create service.

  6. Specify comma-separated teams, tags, and recipients for the Opsgenie alerts.

AppOptics organization settings

You can also refer to AppOptics's support document for this integration.

Sample Payload

JSON

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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 { "alert": { "id": 4892664, "name": "test alert", "runbook_url": "runbook.com", "version": 2, "description": "test alert" }, "trigger_time": 1424793470, "conditions": [ { "id": 611876, "type": "above", "threshold": 1, "duration": 60 }, { "id": 61187, "type": "average", "threshold": 2, "duration": 40 } ], "violations": { "test-source": [ { "metric": "cpu", "value": 43, "recorded_at": 1424793470, "condition_violated": 611876 }, { "metric": "metric1", "value": 51, "recorded_at": 1427793470, "condition_violated": 611876 } ], "source" :[ { "metric": "metric2", "value": 3, "recorded_at": 1624793470, "condition_violated": 611876 } ] }, "metric": { "name": "disk_read", "type": "gauge" }, "measurement": { "value": 50, "source": "test-source" }, "measurements": [ { "value": 50, "source": "test-source" } ] }
Last modified on Jan 4, 2021
Cached at 8:53 PM on Apr 10, 2021 |

Additional Help

Ask the Community