Skip to content

Commit d312931

Browse files
committed
Refresh article
1 parent f0e8d2f commit d312931

File tree

1 file changed

+34
-16
lines changed

1 file changed

+34
-16
lines changed

docs/service-hooks/services/datadog.md

Lines changed: 34 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,46 @@
11
---
22
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.
66
ms.assetid: 7472f06c-11f3-4603-953c-9a0de5abe29d
77
ms.author: chcomley
88
author: chcomley
99
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.
1112
---
12-
# Create a service hook for Azure DevOps with Datadog
13+
# Create a service hook for Azure DevOps with Datadog
1314

14-
[!INCLUDE [version-gt-eq-2019](../../includes/version-gt-eq-2019.md)]
15+
[!INCLUDE [Azure DevOps Services | Azure DevOps Server 2022 | Azure DevOps Server 2020](../../includes/version-gt-eq-2020.md)]
1516

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"
1722

1823
> [!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:
2025
>
2126
> `exec prc_SetRegistryValue 1, '#\FeatureAvailability\Entries\ServiceHooks.Consumers.datadog\AvailabilityState\', 1`
2227
28+
::: moniker-end
29+
2330
## Prerequisites
2431

2532
| Category | Requirements |
2633
|--------------|-------------|
2734
|**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. |
2936

30-
## Start sending Azure DevOps events to Datadog
37+
## Send Azure DevOps events to Datadog
3138

3239
To send Azure DevOps events to Datadog, you set up a subscription for each type of event.
3340

3441
### Create a subscription for an event
3542

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`.
3744

3845
1. Select **Create subscription**.
3946

@@ -48,20 +55,31 @@ To send Azure DevOps events to Datadog, you set up a subscription for each type
4855
:::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.":::
4956

5057
1. Configure the action to perform when the event happens:
58+
5159
- Under **Datadog API Key**, enter your Datadog API key.
52-
- Under **Datadog Account Type**, select your account type.
5360

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**.
5573

56-
1. To create the subscription, select **Finish**.
74+
1. To finish creating the subscription, select **Finish**.
5775

5876
:::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.":::
5977

6078
### Add subscriptions for other events
6179

6280
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.
6381

64-
### Use your data in Datadog
82+
## Use your data in Datadog
6583

6684
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).
6785

@@ -82,7 +100,7 @@ A: Yes. For more information, see [Create a service hook subscription programmat
82100

83101
### Q: How can I use these events in Datadog?
84102

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.
86104

87105
### Q: What event types can I send to Datadog?
88106

0 commit comments

Comments
 (0)