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
Learn how to create events and metrics in Datadog in response to events from Azure DevOps. Use these metrics and events in Datadog to create dashboards, troubleshoot issues, and create monitors to alert you of critical issues. Datadog accepts all Azure DevOps event types.
16
+
You can use Azure DevOps service hooks to create events and metrics in Datadog in response to events in Azure DevOps. In Datadog, you can use these metrics and events to create dashboards, troubleshoot issues, and create monitors to alert you to critical issues. Datadog accepts all Azure DevOps event types.
17
17
18
18
> [!IMPORTANT]
19
-
> The Datadog feature might not be turned on by default for Azure DevOps Server 2019 and 2020, which is a known issue. Until it resolves, you can use the following SQL command in your config database to turn on the feature:
> The Datadog feature might not be turned on by default for Azure DevOps Server 2020, which is a known issue. Until it's resolved, you can use the following SQL command in your **Tfs_Configuration** database to turn on the feature:
@@ -28,45 +29,56 @@ Learn how to create events and metrics in Datadog in response to events from Azu
28
29
29
30
## Start sending Azure DevOps events to Datadog
30
31
31
-
1. Go to **Project settings** > **Service hooks**: `https://{orgName}/{project_name}/_settings/serviceHooks`.
32
+
To send Azure DevOps events to Datadog, you set up a subscription for each type of event.
32
33
33
-
2. Select **Create subscription**.
34
+
### Create a subscription for an event
34
35
35
-

36
+
1. Go to your Azure DevOps project, select **Project settings**, and then select **Service hooks**. Alternately, go to https://{organization-name}/{project-name}/_settings/serviceHooks`.
36
37
37
-
3. Choose**Datadog** among the list of services, and then choose **Next**.
38
+
1. Select**Create subscription**.
38
39
39
-
:::image type="content" source="../media/select-datadog.png" alt-text="Screenshot with red box around Datadog and Next selections.":::
40
+
:::image type="content" source="../media/azure-devops-create-subscription.png" alt-text="Screenshot of the Service Hooks page of an Azure DevOps project. The Create subscription button is highlighted.":::
40
41
41
-
4. Select an event to trigger on, configure any filters, and then select **Next**.
42
+
1. In the list of services, select **Datadog**, and then select **Next**.
42
43
43
-
:::image type="content" source="../media/datadog-trigger-event.png" alt-text="Screenshot of configuration fields for triggering event in Azure DevOps.":::
44
+
:::image type="content" source="../media/select-datadog.png" alt-text="Screenshot of the Service page in the New service hooks subscription wizard. In the service list, Datadog is highlighted. Next is also highlighted.":::
44
45
45
-
5. Configure the action to perform.
46
-
- Paste (ctrl+v) your Datadog API Key into the required field.
47
-
- Indicate whether your Datadog account is US or EU.
46
+
1. Select an event to trigger on, configure any filters that you want to use, and then select **Next**.
48
47
49
-
6. Choose **Test** to verify that Azure DevOps can use the provided configuration and successfully create a subscription.
48
+
:::image type="content" source="../media/datadog-trigger-event.png" alt-text="Screenshot of the Trigger page in the New service hooks subscription wizard. The event list, two filters, and the Next button are highlighted.":::
50
49
51
-
7. Once verified, choose **Finish** to complete the creation of subscription.
50
+
1. Configure the action to perform when the event happens:
51
+
- Under **Datadog API Key**, enter your Datadog API key.
52
+
- Under **Datadog Account Type**, select your account type.
52
53
53
-
:::image type="content" source="../media/datadog-api-key-account-type-selection.png" alt-text="Screenshot of where you select and configure the action to perform.":::
54
+
1. To verify that Azure DevOps can use the provided configuration and successfully create a subscription, select **Test**.
54
55
55
-
8. Repeat steps 2-7 for each event type you want to send to Datadog. Datadog accepts and encourages users to send all event types.
56
-
9. Go to [Datadog](https://app.datadoghq.com/account/login) to see events and metrics start to flow into your environment.
56
+
1. To create the subscription, select **Finish**.
57
+
58
+
:::image type="content" source="../media/datadog-api-key-account-type-selection.png" alt-text="Screenshot of the Action page in the New service hooks subscription wizard, with a key and an account type visible and Test and Finish highlighted.":::
59
+
60
+
### Add subscriptions for other events
61
+
62
+
Repeat the steps in [Create a subscription for an event](#create-a-subscription-for-an-event) for each event type you want to send to Datadog. Datadog accepts and encourages users to send all event types.
63
+
64
+
### Use your data in Datadog
65
+
66
+
As events occur and their data and metrics start to flow into Datadog, you can set up dashboards and monitors. To get started, go to [Datadog](https://app.datadoghq.com/account/login).
57
67
58
68
## FAQs
59
69
60
70
### Q: Can I create service hook subscriptions programmatically?
61
71
62
-
A: Yes. For more information, see [Create a service hooks subscription programmatically](../create-subscription.md). Submit to either of the following Datadog endpoints:
72
+
A: Yes. For more information, see [Create a service hook subscription programmatically](../create-subscription.md). Your Datadog account type determines the endpoint that your subscription should submit requests to. Use one of the following endpoints:
0 commit comments