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/service-hooks/services/datadog.md
+34-16Lines changed: 34 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,39 +1,46 @@
1
1
---
2
2
ms.subservice: azure-devops-service-hooks
3
-
ms.topic: conceptual
4
-
title: Create a service hook for Azure DevOps Services and Azure DevOps Server with Datadog.
5
-
description: Use Datadog with your Azure DevOps Services organization
3
+
ms.topic: how-to
4
+
title: Create a Service Hook for Azure DevOps with Datadog
5
+
description: Find out how to use service hooks to send Azure DevOps events to Datadog so you can build dashboards and monitors from the event metrics and data.
6
6
ms.assetid: 7472f06c-11f3-4603-953c-9a0de5abe29d
7
7
ms.author: chcomley
8
8
author: chcomley
9
9
monikerRange: "<=azure-devops"
10
-
ms.date: 06/25/2025
10
+
ms.date: 06/26/2025
11
+
# customer intent: As a developer, I want to find out how to use service hooks to send Azure DevOps events to Datadog so that I can build dashboards and monitors from the event metrics and data.
11
12
---
12
-
# Create a service hook for Azure DevOps with Datadog
13
+
# Create a service hook for Azure DevOps with Datadog
[!INCLUDE [Azure DevOps Services | Azure DevOps Server 2022 | Azure DevOps Server 2020](../../includes/version-gt-eq-2020.md)]
15
16
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
+
You can 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.
18
+
19
+
This article shows you how to use service hooks to send Azure DevOps events to Datadog.
20
+
21
+
::: moniker range="<= azure-devops-2020"
17
22
18
23
> [!IMPORTANT]
19
-
> 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:
24
+
> The Datadog feature might not be turned on by default in Azure DevOps Server 2020 and 2019, 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:
|**Permissions**| - Member of the [Project Collection Administrators group](../../organizations/security/look-up-project-collection-administrators.md). Organization owners are automatically members of this group.<br>- **Edit subscriptions** and **View subscriptions** permissions set to **Allow**. By default, only project administrators have these permissions. To grant the permissions to other users, you can use the command-line tool or the [Security](/rest/api/azure/devops/security/?view=azure-devops-rest-6.0&preserve-view=true) REST API.|
28
-
|**Tools**|[Datadog](https://aka.ms/AzureDevOpsDataDog). In the Datadog application, go to [Integrations > API](https://aka.ms/AzureDevOpsDataDogAPI), create a new key or select an existing one, and then copy the key to your clipboard.|
35
+
|**Tools**|[Datadog](https://aka.ms/AzureDevOpsDataDog). In the Datadog application, go to your profile and then select **Organization Settings** > **API Keys**. Create a new key or select an existing one, and then copy the key to your clipboard. |
29
36
30
-
## Start sending Azure DevOps events to Datadog
37
+
## Send Azure DevOps events to Datadog
31
38
32
39
To send Azure DevOps events to Datadog, you set up a subscription for each type of event.
33
40
34
41
### Create a subscription for an event
35
42
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`.
43
+
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`.
37
44
38
45
1. Select **Create subscription**.
39
46
@@ -48,20 +55,31 @@ To send Azure DevOps events to Datadog, you set up a subscription for each type
48
55
:::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.":::
49
56
50
57
1. Configure the action to perform when the event happens:
58
+
51
59
- Under **Datadog API Key**, enter your Datadog API key.
52
-
- Under **Datadog Account Type**, select your account type.
53
60
54
-
1. To verify that Azure DevOps can use the provided configuration and successfully create a subscription, select **Test**.
61
+
- Under **Datadog Account Type**, select your account type. You can determine your account type from the hostname of the URL that your Datadog account uses.
62
+
63
+
| URL hostname | Account type |
64
+
| --- | --- |
65
+
| app.datadoghq.com | US |
66
+
| app.datadoghq.eu | EU |
67
+
| us3.datadoghq.com | US3 |
68
+
| us5.datadoghq.com | US5 |
69
+
| ap1.datadoghq.com | AP1 |
70
+
| app.dog-gov.com | GOV |
71
+
72
+
1. To verify that Azure DevOps can use your configuration settings and successfully create a subscription, select **Test**.
55
73
56
-
1. To create the subscription, select **Finish**.
74
+
1. To finish creating the subscription, select **Finish**.
57
75
58
76
:::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
77
60
78
### Add subscriptions for other events
61
79
62
80
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
81
64
-
###Use your data in Datadog
82
+
## Use your data in Datadog
65
83
66
84
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).
67
85
@@ -82,7 +100,7 @@ A: Yes. For more information, see [Create a service hook subscription programmat
82
100
83
101
### Q: How can I use these events in Datadog?
84
102
85
-
A: Azure DevOps events that are sent to Datadog are useful for creating dashboards, setting up monitors, and finding correlations during troubleshooting. You can also use them to get insights into how your developer operations processes affect application performance.
103
+
A: Azure DevOps events that are sent to Datadog are useful for creating dashboards, setting up monitors, and finding correlations during troubleshooting. You can also use event data to get insights into how processes in your developer operations affect application performance.
0 commit comments