LightStep と統合する
統合でできるようになること
Jira Service Management の Lightstep 統合を使用して、Lightstep の通知を Jira Service Management に転送します。Jira Service Management は、オンコール スケジュールに基づいて通知する適切な担当者を決定します。メール、テキスト メッセージ (SMS)、電話、iOS や Android のプッシュ通知によって通知し、アラートが承認されるかクローズされるまでアラートをエスカレートします。
統合による機能
Lightstep は、サービスレベル アラート (SLA) が違反または解決されたときに JSON 通知を送信します。これにより Jira Service Management でアラートが作成されます。
統合をセットアップする
Lightstep は API 統合です。設定は次の手順で行います。
Jira Service Management に Lightstep 統合を追加する
Lightstep で統合を設定する
Lightstep 統合を追加する
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 で Lightstep 統合を追加するには、次の手順を実行します。
Next to Operations in the sidebar, select More actions (), then General configuration.
Select Integrations and then Add integration.
Run a search and select “ServiceNow Cloud Observability”.
For the integration variant, select “Lightstep”.
統合アラートの場合は、「ServiceNow Cloud Observability」統合バリアントを選択してください。ServiceNow Cloud Observability と統合する方法をご覧ください。
5. 次の画面で、統合の名前を入力します。
6. オプション: 特定のチームが統合からのアラートを受信するようにする場合は、[担当者チーム] でチームを選択します。
[続行] を選択します。
この時点で、統合が保存されます。
8. [統合を設定する手順] セクションを展開して、API キーをコピーします。
このキーは、後ほど Lightstep で統合を設定する際に使用します。
9. [統合をオンにする] を選択します。
統合のために作成したルールは、統合をオンにした場合にのみ機能します。
Lightstep で統合を設定する
Lightstep と Jira Service Management の統合を設定するには、次の手順を実行します。
Lightstep で、[Project Settings (プロジェクト設定)] に移動します。
[Webhooks (Webhook)] > [Create New (新規作成)] を選択します。
先ほどコピーした統合 URL を [URL] に貼り付けます。
[保存] を選択します。
Lightstep からの Webhook メッセージの例
JSON
{
"grouping-id":"21a2_1030_2020-11-06T17:53:01Z",
"timestamp":"2020-11-06T17:53:01.434454188Z",
"title":"Alert Triggered",,
"project":{
"text": "demo",
"href": "https://app.lightstep.com/demo"
},
"saved-search":{
"text":"component:\"android\" operation:\"/api/make-payment\"",
"href": "https://app.lightstep.com/demo/stream/VvF37s1J"
},
"live-view":{
"text":"Go to Explorer",
"href":"https://app.lightstep.com/demo/explorer?q=component%3A%22android%22+operation%3A%22%2Fapi%2Fmake-payment%22"
},
"payloads":[
{
"type":"condition-violated",
"subtitle":{
"text":"lat(95) > 4s",
"href":"https://app.lightstep.com/demo/stream/VvF37s1J?selected_condition_id=cBTPjq85"
},
"exemplars":[
{
"start":"2020-11-06T17:51:16.650381Z",
"end":"2020-11-06T17:51:21.440972Z",
"is-error":false,
"href":"https://app.lightstep.com/demo/trace?at_micros=1604685081440972&selected_span_guid=6c9f6f0da1070105&trace_handle=CIWCnIja4dvPbBIGNDY4NzUxKAIyDAiUmpb9BRDIjZC2AjoOc3RyZWFtc190cmFjZXM%3D&utm_source=webhook"
},
{
"start":"2020-11-06T17:51:14.338421Z",
"end":"2020-11-06T17:51:19.803192Z",
"is-error":false,
"href":"https://app.lightstep.com/demo/trace?at_micros=1604685079803192&selected_span_guid=5eb482849f71b789&trace_handle=CInvxvvJ0KDaXhIGNDY4NzUxKAIyDAiSmpb9BRCIyq-hAToOc3RyZWFtc190cmFjZXM%3D&utm_source=webhook"
}
],
"ls-info":{
"Actual Value":{
"ActualValue":"4.218855s"
},
"Expression":"p95 is above 4.00s over the last 2.0m"
},
"custom-data":{
}
}
]
}
この内容はお役に立ちましたか?