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
Serverless > Azure App Service > Windows: Fix links (#32475)
* Fix broken link references in Azure App Service Windows Code docs
Remove outdated [2]: /tracing/setup/dotnet/ link reference and renumber
remaining references to maintain sequential ordering [1] through [6].
This fixes a documentation issue where an unused, outdated link to
/tracing/setup/dotnet/ was present in the reference list.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Remove duplicate dogstatsd link and renumber references
Consolidated duplicate [1] and [2] link references that both pointed
to /developers/dogstatsd, and renumbered all subsequent link references
to maintain sequential ordering.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Fix link references in Azure App Service Windows Code docs
- Fix Terraform module and azurerm_windows_web_app link references
- Remove duplicate link for "deploy your code"
- Fix DD_SITE link to point to correct site documentation
- Fix unified service tagging link reference
- Update custom metrics link to point to custom_metrics page
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* add some whitespace for readability
---------
Co-authored-by: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: content/en/serverless/azure_app_service/windows_code.md
+26-20Lines changed: 26 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ further_reading:
21
21
22
22
## Overview
23
23
24
-
The Datadog extension for Azure App Service provides monitoring capabilities in addition to the [Datadog-Azure integration][7], which provides metrics and logs.
24
+
The Datadog extension for Azure App Service provides monitoring capabilities in addition to the [Datadog-Azure integration][5], which provides metrics and logs.
25
25
26
26
- Full distributed APM tracing using automatic instrumentation.
27
27
- Customized APM service and trace views showing relevant Azure App Service metrics and metadata.
@@ -48,24 +48,28 @@ The Datadog .NET, Java, and Node.js APM extensions support the following runtime
48
48
49
49
{{< tabs >}}
50
50
{{% tab ".NET" %}}
51
+
51
52
Datadog's automatic instrumentation relies on the .NET CLR Profiling API. This API allows only one subscriber (for example, Datadog's .NET Tracer with Profiler enabled). To ensure maximum visibility, run only one APM solution within your application environment.
52
53
53
54
Additionally, if you are using the Azure Native integration, you can use the Datadog resource in Azure to add the extension to your .NET apps. For instructions, see the [App Service extension section][1] of Datadog's [Azure Native integration guide][2].
Support for Java Web Apps is in Preview for extension v2.4+.
60
62
61
63
There are no billing implications for tracing Java Web Apps during this period.
64
+
62
65
{{% /tab %}}
63
66
{{< /tabs >}}
64
67
65
68
## Installation
69
+
66
70
Datadog recommends doing regular updates to the latest version of the extension to ensure optimal performance, stability, and availability of features. Note that both the initial install and subsequent updates require your web app to be fully stopped in order to install/update successfully.
67
71
68
-
If you haven't already, set up the [Datadog-Azure integration][5]. You can verify that your Azure integration is configured correctly by ensuring that you see the `azure.app_services.count` or `azure.functions.count` metrics in Datadog.
72
+
If you haven't already, set up the [Datadog-Azure integration][3]. You can verify that your Azure integration is configured correctly by ensuring that you see the `azure.app_services.count` or `azure.functions.count` metrics in Datadog.
69
73
70
74
<divclass="alert alert-info">This step is critical for metric/trace correlation and functional trace panel views and improves the overall experience of using Datadog with Azure App Services.
71
75
</div>
@@ -182,7 +186,7 @@ The [Datadog Windows Web App module][2] only deploys the Web App resource and ex
182
186
183
187
{{< img src="infrastructure/serverless/azure_app_services/choose_extension.png" alt="Example of Extensions page in Azure portal, showing .NET Datadog APM extension." style="width:100%;" >}}
184
188
185
-
6. Accept the legal terms, click **OK**, and wait for the installation to complete.
189
+
6. Accept the legal terms, click **OK**, and wait for the installation to complete.
186
190
<divclass="alert alert-danger">This step requires that your application be in a stopped state.</div>
187
191
188
192
7. Start the main application, click **Start**:
@@ -201,17 +205,17 @@ The [Datadog Windows Web App module][2] only deploys the Web App resource and ex
201
205
{{% /tab %}}
202
206
{{< /tabs >}}
203
207
204
-
205
208
## Custom metrics
206
209
207
-
The Azure App Service extension includes an instance of [DogStatsD][3], Datadog's metrics aggregation service. This enables you to submit custom metrics, service checks, and events directly to Datadog from Azure Web Apps and Functions with the extension.
210
+
The Azure App Service extension includes an instance of [DogStatsD][1], Datadog's metrics aggregation service. This enables you to submit custom metrics, service checks, and events directly to Datadog from Azure Web Apps and Functions with the extension.
208
211
209
-
Writing custom metrics and checks in Azure App Service is similar to the process for doing so with an application on a host running the Datadog Agent. **Unlike** the [standard DogStatsD config process][3], there is no need to set ports or a server name when initializing the DogStatsD configuration. There are ambient environment variables in Azure App Service that determine how the metrics are sent (requires v6.0.0+ of the DogStatsD client).
212
+
Writing custom metrics and checks in Azure App Service is similar to the process for doing so with an application on a host running the Datadog Agent. **Unlike** the [standard DogStatsD config process][1], there is no need to set ports or a server name when initializing the DogStatsD configuration. There are ambient environment variables in Azure App Service that determine how the metrics are sent (requires v6.0.0+ of the DogStatsD client).
210
213
211
214
To submit custom metrics to Datadog from Azure App Service using the extension:
212
215
213
216
{{< tabs >}}
214
217
{{% tab ".NET" %}}
218
+
215
219
1. Add the [DogStatsD NuGet package](https://www.nuget.org/packages/DogStatsD-CSharp-Client) to your Visual Studio project.
216
220
2. Initialize DogStatsD and write custom metrics in your application.
1.[Initialize DogStatsD and write custom metrics][1] in your application.
259
-
1. Deploy your code to a supported Azure Web App.
260
-
1. If you have not already, install Datadog's Azure App Service Node.js extension.
264
+
2. Deploy your code to a supported Azure Web App.
265
+
3. If you have not already, install Datadog's Azure App Service Node.js extension.
261
266
262
267
<divclass="alert alert-info">You do not need to install a Node.js DogStatsD client, as it is included in the Node.js tracer (<code>dd-trace</code>) packaged in the Azure App Service extension.</div>
_logger.LogInformation("Weather forecast retrieved for user: {UserId}", userId);
362
-
370
+
363
371
returnOk(forecast);
364
372
}
365
373
}
@@ -537,7 +545,7 @@ It is likely that you do not have the Azure integration configured to monitor yo
537
545
538
546
1. Go to the Azure integration tile.
539
547
540
-
2. Ensure you have installed the [Azure integration][5] for the Azure subscription where your application is running.
548
+
2. Ensure you have installed the [Azure integration][3] for the Azure subscription where your application is running.
541
549
542
550
3. Ensure that any App Service plan filtering rules you have applied include the App Service plan where the app is running. If an App Service plan is not included, all apps and functions hosted on it are also not included. Tags on the app itself are not used for filtering by Datadog.
543
551
@@ -551,16 +559,14 @@ It is likely that you do not have the Azure integration configured to monitor yo
551
559
552
560
**Note**: To expedite the process of investigating application errors with the support team, set `DD_TRACE_DEBUG:true` and add the content of the Datadog logs directory (`%AzureAppServiceHomeDirectory%\LogFiles\datadog`) to your email.
0 commit comments