• Products
  • Get started
  • Documentation
  • Resources

Integrate with Hosted Graphite

This article highlights a new alerting feature that's natively available in Jira Service Management which is gradually rolling out to some Jira Service Management Cloud customers. It may not yet be visible or available on your site.

What does the integration offer?

Use Jira Service Management's Hosted Graphite Integration to forward Hosted Graphite alerts to Jira Service Management. Jira Service Management 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 the alert is acknowledged or closed.

How does the integration work?

When an alert is created in Hosted Graphite, an alert is created in Jira Service Management.

Set up the integration

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

  • Add a Hosted Graphite integration in Jira Service Management

  • Configure the integration in Hosted Graphite

Add a Hosted Graphite integration

If you're using the Free or Standard plan in Jira Service Management, you can only add this integration from your team’s operations page. To access the feature through Settings (gear icon) > Products (under JIRA SETTINGS) > OPERATIONS, you need to be on Premium or Enterprise plan.

Adding an integration from your team’s operations page makes your team the owner of the integration. This means Jira Service Management only assigns the alerts received through this integration to your team.

To add a Hosted Graphite integration in Jira Service Management:

  1. Go to Settings > Integrations.

  2. Select Add integration.

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

  4. On the next screen, enter a name 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 Jira Service Management, 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

1 2 3 4 5 6 7 8 9 10 { "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 Jira Service Management as follows:

JSON

1 2 3 4 5 6 7 8 { "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

1 2 3 4 5 6 7 8 9 10 { "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 Jira Service Management as follows:

JSON

1 2 3 4 5 6 7 8 { "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" }

 

 

Additional Help