AppSignal と統合する
統合でできるようになること
AppSignal は新しいインシデントの通知を送信するものです。AppSignal 統合では、Jira Service Management はこれらのインシデントのディスパッチャーとして機能し、オンコール スケジュールに基づいて適切な通知先が決定されます。メール、テキスト メッセージ (SMS)、電話、iPhone や Android のプッシュ通知によって通知し、アラートが承認されるかクローズされるまでアラートをエスカレートします。
統合による機能
AppSignal でアラートが作成されると、統合を通じて Jira Service Management でアラートが自動的に作成されます。
統合をセットアップする
AppSignal は API ベースの統合です。設定は次の手順で行います。
Jira Service Management で AppSignal 統合を追加する
AppSignal で統合を設定する
AppSignal 統合を追加する
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 で AppSignal 統合を追加するには、次の手順を実行します。
Next to Operations in the sidebar, select More actions (), then General configuration.
Select Integrations and then Add integration.
検索を実行して [AppSignal] を選択します。
次の画面で、統合の名前を入力します。
オプション: 特定のチームが統合からのアラートを受信するようにする場合は、[Assignee team (担当者チーム)] のチームを選択します。
[Continue] を選択します。
この時点で、統合が保存されます。[統合を設定する手順] セクションを展開して、ご利用のアカウント用に生成された統合 URL をコピーします。
API URL と API キーは、後ほど AppSignal で統合を設定する際に使用します。[統合をオンにする] を選択します。
統合のために作成したルールは、統合をオンにした場合にのみ機能します。
AppSignal で統合を設定する
AppSignal と Jira Service Management の統合を設定するには、次の手順に従います。
AppSignal で、サイドバーから [統合] タブに移動します。
Jira Service Management 統合を追加します。
以前に Jira Service Management からコピーした API キーを [API キー] に貼り付けます。
以前に Jira Service Management からコピーした API URL を [エンドポイント] に貼り付けます。
AppSignal から送信されたペイロードの例
マーカー アラート ペイロード
JSON
{
"user": "thijs",
"site": "AppSignal",
"environment": "test",
"revision": "3107ddc4bb053d570083b4e3e425b8d62532ddc9",
"repository": "git@github.com:appsignal/appsignal.git",
"url": "https://appsignal.com/test/sites/1385f7e38c5ce90000000000/web/exceptions"
}
例外アラート ペイロード
JSON
{
"exception": "ActionView::Template::Error",
"site": "AppSignal",
"message": "undefined method `encoding' for nil:NilClass",
"action": "App::ErrorController#show",
"path": "/errors",
"revision": "3107ddc4bb053d570083b4e3e425b8d62532ddc9",
"user": "thijs",
"first_backtrace_line": "/usr/local/rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/cgi/util.rb:7:in `escape'",
"url": "https://appsignal.com/test/sites/1385f7e38c5ce90000000000/web/exceptions/App::SnapshotsController-show/ActionView::Template::Error",
"environment": "test"
}
この内容はお役に立ちましたか?