AppSignal と統合する
この記事では、Jira Service Management Cloud の一部のお客様に段階的に展開されている、Jira Service Management でネイティブに利用できる新しいアラート機能を取り上げています。ご利用のサイトにはまだ表示されていないか、利用できない可能性があります。
統合でできるようになること
AppSignal は新しいインシデントの通知を送信するものです。AppSignal 統合では、Jira Service Management はこれらのインシデントのディスパッチャーとして機能し、オンコール スケジュールに基づいて適切な通知先が決定されます。メール、テキスト メッセージ (SMS)、電話、iPhone や Android のプッシュ通知によって通知し、アラートが承認されるかクローズされるまでアラートをエスカレートします。
統合による機能
AppSignal でアラートが作成されると、統合を通じて Jira Service Management でアラートが自動的に作成されます。
統合をセットアップする
AppSignal は API ベースの統合です。設定は次の手順で行います。
Jira Service Management で AppSignal 統合を追加する
AppSignal で統合を設定する
AppSignal 統合を追加する
Bidirectional integrations aren’t supported in Free and Standard plans. All the other integrations are supported at a team level in Free and Standard; however, for their outgoing part to work, you need to upgrade to a higher plan. To add any integration at a site level through Settings
(gear icon) > Products
(under JIRA SETTINGS) > OPERATIONS
, you need to be either on Premium or Enterprise.
統合をチームの運用ページから追加すると、そのチームが統合の所有者になります。つまり、Jira Service Management は、この統合を通じて受信したアラートをチームにのみ割り当てます。
Jira Service Management で AppSignal 統合を追加するには、次の手順を実行します。
チームの運用ページに移動します。
左側のナビゲーション パネルで、[統合] > [統合を追加] の順に選択します。
検索を実行して [AppSignal] を選択します。
次の画面で、統合の名前を入力します。
オプション: 特定のチームが統合からのアラートを受信するようにする場合は、[Assignee team (担当者チーム)] のチームを選択します。
[Continue] を選択します。
この時点で、統合が保存されます。Expand the Steps to configure the integration section and copy the integration URL generated for your account.
You will use the API URL and API key while configuring the integration in AppSignal later.[統合をオンにする] を選択します。
統合のために作成したルールは、統合をオンにした場合にのみ機能します。
AppSignal で統合を設定する
AppSignal と Jira Service Management の統合を設定するには、次の手順に従います。
In AppSignal, go to the Integrations tab from the sidebar.
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"
}
この内容はお役に立ちましたか?