You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs/integrations/datadog.md
+26-41Lines changed: 26 additions & 41 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,18 +5,14 @@ group: integrations
5
5
toc:true
6
6
---
7
7
8
-
Codefresh allows you to integrate with Datadog to analyze monitoring and performance data within Codefresh.
9
-
For
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.
10
9
11
-
To integrate, you need:
12
-
A Datadog account, and know the region to which to connect
13
-
An API token
10
+
For integration, you need:
11
+
* An API token from your Datadog account
12
+
* To define the settings in Codefresh
14
13
15
-
16
-
17
-
To enable the analysis sign up for a free account with Codecov and add a new project.
18
14
##Get API token from Datadog account
19
-
If you already have a Datadog account, you can copy the API keyfrom your account. Otherwise, generate a new API key.
15
+
If you already have a Datadog account, you can copy the API keyif you have one, or generate a new API key.
20
16
21
17
1. Log in to your Datadog account.
22
18
1. Go to**Organization Settings**, and select**API Keys**.
@@ -25,43 +21,32 @@ If you already have a Datadog account, you can copy the API key from your accoun
From this screen make sure you note down the Token as you will use it in Codefresh.
34
-
35
-
Next, go into your Codefresh account settings and choose CodeCov from[integrations](https://g.codefresh.io/account-admin/account-conf/integration). Click the add integration button:
***Integration name**: The user-defined name for this integration. The name should be unique for each integration that you add.
48
-
***Token**: The token (see the previous section) for this integration.
49
-
***Url**: The base URL for this integration. Do not add the trailing slash to the URL definition. For more information, see the[official Codecov documentation](https://docs.codecov.com/docs/configuration#codecov-url){:target="\_blank"}.
29
+
{:start="3"}
30
+
1. Copy the API key to use with your Codefresh integration.
50
31
32
+
##Configure integration settings for Datadog in Codefresh
51
33
52
-
Using Codecov in a Codefresh Pipeline:
34
+
Configure the integration settings for Datadog within Codefresh.
53
35
54
-
With the integration in place, you can use it by name in any Codefresh pipeline by using the[Codecov reporter step](https://codefresh.io/steps/step/codecov-reporter).
55
-
56
-
`codefresh.yml`
57
-
```yaml
58
-
codecov-report:
59
-
stage: "prepare"
60
-
title: Codecov report
61
-
type: codecov-reporter
62
-
arguments:
63
-
codecov_integration:my-codecov-integration
64
-
```
65
-
66
-
For more details see our [Codecov example](https://codefresh.io/docs/docs/yaml-examples/examples/codecov-testing/).
36
+
1. In the Codefresh UI, go to[integrations](https://g.codefresh.io/account-admin/account-conf/integration).
***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.