Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

What does the integration offer?

Use Compass's Hosted Graphite Integration to forward Hosted Graphite alerts to Compass. Compass determines the right people to notify based on on-call schedules, notifies via email, text messages (SMS), phone calls and iOS and Android push notifications, and escalates alerts until the alert is acknowledged or closed.

How does the integration work?

When an alert is created in Hosted Graphite, an alert is created in Compass.

Set up the integration

Hosted Graphite is an API integration. Setting it up involves the following steps:

  • Add a Hosted Graphite integration in Compass

  • Configure the integration in Hosted Graphite

Add a Hosted Graphite integration

Info

Bidirectional integrations aren’t supported in the Standard plan. All the other integrations are supported at a team level in Standard.

If you're using the Standard plan in Compass, you can add this integration only from your team’s operations page. Adding an integration from your team’s operations page makes your team the owner of the integration. This means Compass only assigns the alerts received through this integration to your team.

To add a Hosted Graphite integration in Compass:

  1. Go to Settings > Integrations.

  2. Select Add integration.

  3. Run a search and select “Hosted Graphite”.

  4. On the next screen, enter aname for the integration.

  5. Optional: Select a team in Assignee team if you want a specific team to receive alerts from the integration.

  6. Select Continue.
    The integration is saved at this point.

  7. Expand the Steps to configure the integration section and copy the API key.
    You will use this key while configuring the integration in Hosted Graphite later.

  8. Select Turn on integration.
    The rules you create for the integration will work only if you turn on the integration.

Configure the integration in Hosted Graphite

To configure the integration of Hosted Graphite with Compass, complete the following steps:

  1. In Hosted Graphite, select Alerts from the side menu.

  2. Go to the Notification Channels tab.

  3. Select + Add Channel at the upper right corner of the page.

  4. Select Opsgenie.

  5. Enter a name for the notification channel into Name.

  6. Paste the API key copied previously into Opsgenie API key.

  7. Select Save.

Sample payload sent from Hosted Graphite

Create Alert payload

JSON

Code Block
{
    "name": "hostedgraphite_test_alert",
    "criteria": "metric values missing for 1 minutes",
    "graph": "http://i.mfhg.io/render-api/e3c33750/035359b9aefe772.png",
    "value": "None",
    "metric": "_test-data.servers.webserver0.requests.count",
    "status": "alerting",
    "backoff_minutes": false,
    "info": "Instructions regarding the alert"
}

This payload is parsed by Compass as follows:

JSON

Code Block
{
    "alarmName": "test",
    "alarmCriteria": "metric values missing for 1 minutes",
    "alarmValue": "None",
    "alarmMetric": "_test-data.servers.webserver0.requests.count",
    "alarmStatus": "alerting",
    "alarmInfo": "Instructions regarding the alert"
}

Close Alert payload

JSON

Code Block
{
    "name": "hostedgraphite_test_alert",
    "criteria": "metric values missing for 1 minutes",
    "graph": "http://i.mfhg.io/render-api/e3c33750/035359b9aefe772.png",
    "value": "None",
    "metric": "_test-data.servers.webserver0.requests.count",
    "status": "recovered",
    "backoff_minutes": false,
    "info": "Instructions regarding the alert"
}

This payload is parsed by Compass as follows:

JSON

Code Block
{
    "alarmName": "test",
    "alarmCriteria": "metric values missing for 1 minutes",
    "alarmValue": "None",
    "alarmMetric": "_test-data.servers.webserver0.requests.count",
    "alarmStatus": "recovered",
    "alarmInfo": "Instructions regarding the alert"
}