Opsgenie を AppSignal と統合する
Opsgenie が AppSignal ユーザーに提供するもの
AppSignal は新しいインシデントの通知を送信します。AppSignal インテグレーションによって、Opsgenie はこれらのインシデントのディスパッチャーとして機能して、オンコール スケジュールに基づいて通知する適切な担当者を決定します。メール、テキスト メッセージ (SMS)、電話、iPhone、Android のプッシュ通知によって通知して、アラートが確認されるかクローズされるまでアラートをエスカレートします。
統合の機能性
AppSignal でアラートが作成されると、インテグレーションによって Opsgenie でアラートが自動で作成されます。
Opsgenie で AppSignal インテグレーションを追加する
Opsgenie の Free プランまたは Essentials プランを使用している、または Jira Service Management の Standard プランで Opsgenie を使用している場合は、チーム ダッシュボードからのみこの統合を追加できます。 このプランでは、[設定] の [統合] ページが利用できません。
[チーム] に移動して自分のチームを選択します。
左側のナビゲーションで [統合] を選択し、[統合を追加] を選択します。
統合をチーム ダッシュボードから追加すると、そのチーム統合の所有者になります。Opsgenie では、この統合を通じて受信したアラートはそのチームのみに割り当てられます。このセクションの残りの手順に従って、統合を設定してください。
Go to Settings > Integrations Search for AppSignal and select Add.
Specify who is notified of AppSignal alerts using the Responders field. Auto-complete suggestions are provided as you type.
API キーをコピーします。
エンドポイントをコピーします。
[Save Integration (統合の保存)] を選択します。
AppSignal での設定
In AppSignal, go to the Integrations tab from the sidebar.
Add an Opsgenie Integration and Populate API Key with the API Key copied previously.
前にコピーしたエンドポイントをフィールドに貼り付けます。
[登録] をクリックします。
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"
}
この内容はお役に立ちましたか?