Wavefront と統合する
この記事では、Jira Service Management Cloud の一部のお客様に段階的に展開されている、Jira Service Management でネイティブに利用できる新しいアラート機能を取り上げています。ご利用のサイトにはまだ表示されていないか、利用できない可能性があります。
統合でできるようになること
Jira Service Management の Wavefront 統合を使用して、Wavefront アラートを Jira Service Management に転送します。Jira Service Management はこれらのアラートのディスパッチャーとして機能し、オンコール スケジュールに基づいて通知する適切な担当者を決定します。メール、テキスト メッセージ (SMS)、電話、iPhone や Android のプッシュ通知による通知を行い、アラートが承認またはクローズされるまでアラートをエスカレーションします。
統合による機能
Wavefront でアラートが発生すると、統合を通じて Jira Service Management でアラートが自動的に作成されます。
Wavefront でアラートが解決されると、統合を通じて Jira Service Management でアラートが自動的にクローズされます。
統合をセットアップする
Wavefront は API ベースの統合です。設定は次の手順で行います。
Jira Service Management で Wavefront 統合を追加する
Wavefront で統合を設定する
Wavefront 統合を追加する
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 で Wavefront 統合を追加するには、次の手順を実行します。
チームの運用ページに移動します。
左側のナビゲーション パネルで、[統合] > [統合を追加] の順に選択します。
検索を実行して「Wavefront」を選択します。
次の画面で、統合の名前を入力します。
オプション: 特定のチームが統合からのアラートを受信するようにする場合は、[Assignee team (担当者チーム)] のチームを選択します。
[Continue] を選択します。
この時点で、統合が保存されます。[統合を設定する手順] セクションを展開して、API キーをコピーします。
このキーは、後ほど Wavefront で統合を設定する際に使用します。[統合をオンにする] を選択します。
統合のために作成したルールは、統合をオンにした場合にのみ機能します。
Wavefront で統合を設定する
Wavefront と Jira Service Management の統合を設定するには、次の手順に従います。
Wavefront で [Browse (参照)] > [Web Hooks] を選択します。
[作成] を選択します。
[Title (タイトル)] に値を入力します。
[Triggers (トリガー)] で [Alert Opened (オープンされたアラート)] と [Alert Resolved (解決されたアラート)] を選択します。
さきほどコピーした API URL を [URL] に貼り付けます。
[Content Type (コンテンツ タイプ)] で [application/json] を選択します。
[Web Hook POST Body Template (Web Hook POST 本文テンプレート)] に値を入力するか、[Default Template (既定のテンプレート)] を選択します。
[Description (説明)] に値を入力します。
[保存] を選択します。
Wavefront から送信されるペイロードのサンプル
JSON
{
"alertId": "1471312865666",
"notificationId": "ae63a700-9e0b-4c13-816b-5caa3acf4f63",
"reason": "ALERT_OPENED",
"name": "Example Alert",
"severity": "INFO",
"severitySmoke": false,
"severityInfo": true,
"severityWarn": false,
"severitySevere": false,
"condition": "mmax(5m, ts(~sample.requests.latency, env=production)) > 100",
"url": "https://try.wavefront.com/u/pSNB7gHXPn",
"createdTime": "08/16/2016 02:01:05 +0000",
"startedTime": "08/16/2016 10:05:21 +0000",
"sinceTime": "08/16/2016 10:03:21 +0000",
"endedTime": "",
"snoozedUntilTime": "",
"subject": "[INFO] OPENED: Example Alert",
"hostsFailingMessage": "app-6 (~sample.requests.latency) [env=production][az=us-west-2]\napp-7 (~sample.requests.latency) [env=production][az=us-west-2]\napp-9 (~sample.requests.latency) [env=production][az=us-west-2]\napp-20 (~sample.requests.latency) [env=production][az=us-west-2]\napp-10 (~sample.requests.latency) [env=production][az=us-west-2]\napp-15 (~sample.requests.latency) [env=production][az=us-west-2]\napp-14 (~sample.requests.latency) [env=production][az=us-west-2]\napp-13 (~sample.requests.latency) [env=production][az=us-west-2]\napp-11 (~sample.requests.latency) [env=production][az=us-west-2]\napp-12 (~sample.requests.latency) [env=production][az=us-west-2]\napp-19 (~sample.requests.latency) [env=production][az=us-west-2]\napp-8 (~sample.requests.latency) [env=production][az=us-west-2]\napp-17 (~sample.requests.latency) [env=production][az=us-west-2]\napp-18 (~sample.requests.latency) [env=production][az=us-west-2]\napp-16 (~sample.requests.latency) [env=production][az=us-west-2]",
"errorMessage": "",
"additionalInformation": "",
"failingSources": [
"app-6",
"app-7",
"app-9",
"app-20",
"app-10",
"app-15",
"app-14",
"app-13",
"app-11",
"app-12",
"app-19",
"app-8",
"app-17",
"app-18",
"app-16"
],
"inMaintenanceSources": [],
"newlyFailingSources": [
"app-17",
"app-7",
"app-19",
"app-13",
"app-20",
"app-15",
"app-6",
"app-11",
"app-16",
"app-18",
"app-8",
"app-9",
"app-14",
"app-12",
"app-10"
],
"recoveredSources": [],
"failingSeries": [
[
"app-6",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-7",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-9",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-20",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-10",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-15",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-14",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-13",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-11",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-12",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-19",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-8",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-17",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-18",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-16",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
]
],
"inMaintenanceSeries": [],
"newlyFailingSeries": [
[
"app-17",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-7",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-19",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-13",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-20",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-15",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-6",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-11",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-16",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-18",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-8",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-9",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-14",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-12",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
],
[
"app-10",
"~sample.requests.latency",
[
"env=production",
"az=us-west-2"
]
]
],
"recoveredSeries": []
}
この内容はお役に立ちましたか?