To find out if this integration is available in your organization, see your Datadog Integrations page or ask your organization administrator.

To initiate an exception request to enable this integration for your organization, email [email protected].

Git イベント

概要

Git のコミットを Git サーバーから直接キャプチャして、以下のことができます。

  • コードの変更をリアルタイムに追跡できます。
  • すべてのダッシュボードにコード変更マーカーを追加できます。
  • コードの変更についてチームで議論できます。

セットアップ

インストール

  1. Generate Application Key を使用して、Git 用の新しいアプリケーションキーを作成します。

  2. Datadog Git Webhook をダウンロードします。

    sudo easy_install dogapi
    curl -L https://raw.github.com/DataDog/dogapi/master/examples/git-post-receive-hook > post-receive
    
  3. Git に Datadog のキーを設定します。

    git config datadog.api <YOUR_DATADOG_API_KEY>
    git config datadog.application <YOUR_DATADOG_APP_KEY>
    
  4. <GIT_REPOSITORY_NAME> を使用して、Git リポジトリでフックを有効にします。

    install post-receive <GIT_REPOSITORY_NAME>/.git/hooks/post-receive
    
  5. Datadog-Git インテグレーションをインストールします。