|
| 1 | +--- |
| 2 | +title:"Datadog integration" |
| 3 | +description:"Integrate Codefresh with Datadog for monitoring and analysis" |
| 4 | +group:integrations |
| 5 | +toc:true |
| 6 | +--- |
| 7 | + |
| 8 | +Codefresh allows you to integrate with Datadog to analyze monitoring and performance data. After every build, you can see the data in Datadog's CI Visibility dashboard. |
| 9 | + |
| 10 | +For integration, you need: |
| 11 | +* An API token from your Datadog account |
| 12 | +* To define the settings in Codefresh |
| 13 | + |
| 14 | +##Get API token from Datadog account |
| 15 | +If you already have a Datadog account, you can copy the API key if you have one, or generate a new API key. |
| 16 | + |
| 17 | +1. Log in to your Datadog account. |
| 18 | +1. Go to**Organization Settings**, and select**API Keys**. |
| 19 | + |
| 20 | + {% include image.html |
| 21 | +lightbox="true" |
| 22 | +file="/images/integrations/datadog/datadog-api-key.png" |
| 23 | +url="/images/integrations/datadog/datadog-api-key.png" |
| 24 | +max-width="30%" |
| 25 | +caption="Getting an API Key from your Datadog account" |
| 26 | +alt="Getting an API Key from your Datadog account" |
| 27 | +%} |
| 28 | + |
| 29 | +{:start="3"} |
| 30 | +1. Copy the API key to use with your Codefresh integration. |
| 31 | + |
| 32 | +##Configure integration settings for Datadog in Codefresh |
| 33 | + |
| 34 | +Configure the integration settings for Datadog within Codefresh. |
| 35 | + |
| 36 | +1. In the Codefresh UI, go to[integrations](https://g.codefresh.io/account-admin/account-conf/integration){:target="\_blank"}. |
| 37 | +1. Select**Datadog**, and then**Configure**. |
| 38 | +1. Mouse over**datadog** and select**Edit**. |
| 39 | + |
| 40 | + {% include image.html |
| 41 | +lightbox="true" |
| 42 | +file="/images/integrations/datadog/datagog-config-settings.png" |
| 43 | +url="/images/integrations/datadog/datagog-config-settings.png" |
| 44 | +max-width="30%" |
| 45 | +caption="Datadog configuration settings" |
| 46 | +alt="Datadog configuration settings" |
| 47 | +%} |
| 48 | + |
| 49 | +{:start="4"} |
| 50 | +1. Configure the following: |
| 51 | +***Datadog site**: Select the site with your data. If you are not sure which Datadog site to select, select the View documentation link below the field, and read Datadog's official documentation. |
| 52 | +***Token**: The API token you copied from your Datadog account. |
| 53 | +1. Select**Save**. |