AppOptics Integration Guide

AppOptics is a powerful service that allows you to collect and visualize metrics for your critical IT systems.  With PagerDuty integration, you can now useAppOptics’ alerts to automatically trigger PagerDuty incidents so that your team can be promptly notified about potential issues with your systems.

The PagerDuty integration is quick and easy to set up, just follow this guide to get yourAppOptics and PagerDuty accounts connected.If you are having trouble completing the installation, please contact us.

In PagerDuty

  1. From the Services menu, select Service Directory.
  2. On your Service Directory page:If you are creating a new service for your integration, click + New Service.If you are adding your integration to an existing service, click the name of the service you want to add the integration to. Then click the Integrations tab and click the Add a new integration link.
  3. Select your app from the Integration Type menu and enter an Integration Name.If you are creating a new service for your integration, in General Settings, enter a Name for your new service. Then, in Incident Settings, specify the Escalation Policy, Notification Urgency, and Incident Behavior for your new service.
  4. Click the Add Service or Add Integration button to save your new integration. You will be redirected to the Integrations page for your service.
  5. Copy the Integration Key for the integration.

In AppOptics

  1. With your PagerDuty information in hand, navigate to the Notification Services section of your Organization Details page.
  2. Click on the PagerDuty integration, then on the Add Configuration button.
  3. Enter the PagerDuty configuration details:

    Title: Service destination name, for example Pagerduty hook.

    Service Key: The Service API Key you copied from the PagerDuty services page (REQUIRED).

    Description: A short description of the problem that led to this trigger. This field (or a truncated version) will be used when generating phone calls, SMS messages and alert emails. It will also appear on the incidents tables in the PagerDuty UI (REQUIRED).

    Incident Key: Identifies the incident to which this trigger event should be applied. If there’s no open (i.e. unresolved) incident with this key, a new one will be created. If there’s already an open incident with a matching key, this event will be appended to that incident’s log. The event key provides an easy way to de-dup problem reports. If this field isn’t provided, PagerDuty will automatically open a new incident with a unique key (OPTIONAL).

  4. After setting up the service you can tie alerts to a service destination. You can read more about creating alerts in the Alerts knowledge base article. You can easily set up AppOptics to work with multiple PagerDuty service destinations.
  5. When an alert fires the payload is sent to PagerDuty.
  6. You can then view the details for the incident from the Details pane by selecting view message.
  7. With AppOptics’ latest feature, incidents that are triggered from an AppOptics service will auto resolve when they receive a clear from the AppOptics to UI.

FAQ

How do I setup AppOptics to work with multiple PagerDuty services?

This is easy to do with the current integration.  Each PagerDuty service within AppOptics can be tied to a different service API key.  You would need to make multiple PagerDuty services within PagerDuty and AppOptics.

Can AppOptics support automatic clearing of triggered alerts?

AppOptics now supports automatic clearing of triggered incidents. What this means for PagerDuty integrations, is that open incidents for a AppOptics service will be resolved when they receive a clear from the AppOptics UI. Webhook integrations will contain a “clear” attribute in the payload.On AppOptics’ end an alert goes into a triggered state when a metric/source violates an alert’s conditions. When all of the faulted signals return to normal values an alert will clear, and a clear notification will be sent. For threshold conditions, a normal state means that it no longer violates the threshold. For absent conditions, a normal state means that the signals started reporting again after an absence. While in a triggered state, a notification will be sent every re-notify interval until the alert clears. Disabling an alert will clear any triggered state. A new “resolve” button on the alert page can be used to manually clear alerts in a triggered state. When an alert transitions from triggered to cleared, the re-notify timer is reset. Note that alert clearing is only supported for new standalone alerts launched earlier this year.

It doesn’t seem to be working. What’s going on?

Please contact us if you’re having any difficulty configuring the integration.

Start Using PagerDuty Today

Try PagerDuty free for 14 days — no credit card required.

SIGN UP