Raygun.io と統合する
統合でできるようになること
Raygun 統合を使用して Raygun の通知を Jira Service Management に転送します。Jira Service Management では、オンコール スケジュールに基づいて通知する適切な担当者を決定します。メール、テキスト メッセージ (SMS)、電話、iOS や Android のプッシュ通知による通知を行い、アラートが承認またはクローズされるまでアラートをエスカレートします。
統合による機能
アラートが Raygun で作成されると、アラートが Jira Service Management で作成されます。
統合をセットアップする
Raygun は API ベースの統合です。設定は次の手順で行います。
Jira Service Management で Raygun 統合を追加する
Raygun で統合を設定する
Raygun 統合を追加する
The following capabilities are available in Jira Service Management Premium and Enterprise:
双方向の統合
Outgoing integrations at the team level
Integrations at a site level through Settings (icon) > Products (under Jira settings) > Operations
To access Jira Service Management Premium features, you must subscribe to a Service Collection 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.
Jira Service Management で Raygun 統合を追加するには、次の手順に従います。
Next to Operations in the sidebar, select More actions (), then General configuration.
Select Integrations and then Add integration.
検索を実行して「Raygun」を選択します。
次の画面で、統合の名前を入力します。
オプション: 特定のチームが統合からのアラートを受信するようにする場合は、[Assignee team (担当者チーム)] のチームを選択します。
[Continue] を選択します。
この時点で、統合が保存されます。[統合を設定する手順] セクションを展開して、Jira Service Management のエンドポイントと API キーを含む統合 URL をコピーします。
この URL は、後ほど Raygun で統合を設定する際に使用します。[統合をオンにする] を選択します。
統合のために作成したルールは、統合をオンにした場合にのみ機能します。
Raygun で統合を設定する
Raygun で統合を設定するには、次の手順に従います。
Raygun でご利用のプロジェクト・ページから、[統合] に移動します。
[Webhook] を選択します。
前に Jira Service Management からコピーした URL を [URL] に貼り付けます。
[保存] を選択します。
Raygun からの Webhook メッセージの例
(JSON 形式)
{
"event":"error_notification",
"eventType":"NewErrorOccurred",
"error": {
"url":"http://app.raygun.io/error-url",
"message":"",
"firstOccurredOn":"1970-01-28T01:49:36Z",
"lastOccurredOn":"1970-01-28T01:49:36Z",
"usersAffected":1,
"totalOccurrences":1,
"instance": {
"tags": ["test", "error-page", "v1.0.1", "env:staging"],
"affectedUser": {
"Identifier": "a9b7d84a-c0d3-4e7e-9ded-1ec13d033846",
"IsAnonymous": true,
"UUID": "a9b7d84a-c0d3-4e7e-9ded-1ec13d033846"
},
"customData": {
"pageName": "Error Page",
"userLoggedIn": true
}
}
},
"application": {
"name":"application name",
"url":"http://app.raygun.io/application-url"
}
}
この内容はお役に立ちましたか?