Bitbucket でインシデントを調査する
Bitbucket gives teams one place to plan projects, collaborate on code, test, and deploy. With Opsgenie’s Bitbucket connection you can now associate code deployments with services. This is done by mapping your Bitbucket repositories to owned Opsgenie services. You will then be able to track all code changes to your services due to deployments. Hence allowing you to investigate potential causes in the form of deployments, commits and even exact lines of code better in the case of an incident on your service.
Opsgenie サービスに Bitbucket リポジトリをマップするには、以下の手順を参照してください。
Bitbucket リポジトリを Opsgenie サービスにマッピングできるのは、アカウント管理者、所有者、チーム管理者、および対象のサービスを編集する適切な権限を持つすべてのカスタムロールユーザーのみです。
Ensure you have connected your Bitbucket workspaces to your Opsgenie account.
チームのタブの下にある、自分が所有しているサービスのタブに移動します。
または、自分の Opsgenie アカウントのサービス タブに移動し、表示されているサービスのリストからサービスを編集することもできます。[Bitbucket mappings (Bitbucket マッピング)] セクションで、[Add mapping (マッピングの追加)] オプションをクリックします。
自分の Opsgenie アカウントにリンクできる Bitbucket ワークスペースから、ワークスペースを選択します。
Bitbucket リポジトリをサービスにマップするには、2 つのオプションがあります。
[Sync workspace to service (ワークスペースをサービスに同期)] を使用すると、現在ワークスペースに含まれているすべてのリポジトリをマップし、ワークスペースに追加されたすべてのリポジトリも自動的にサービスにマップされるようにすることができます。
[Select specific repositories to map (マップする特定のリポジトリを選択)] オプションを使用すると、選択したワークスペースで現在使用可能なリポジトリから、サービスにマップする特定のリポジトリを選択できます。
サービスにマップするリポジトリを選択するか、ワークスペース全体を同期するときに、[Add mappings (マッピングの追加)] オプションをクリックしてマッピングビューを閉じます。
リポジトリをサービスに正常にマップすると、Bitbucket マッピング セクションの下にこれらのマッピングが表示されます。
この内容はお役に立ちましたか?