Skip to content

Commit dce60f4

Browse files
lucaspimentelclaude
andcommitted
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>
1 parent e866f70 commit dce60f4

File tree

1 file changed

+15
-16
lines changed

1 file changed

+15
-16
lines changed

content/en/serverless/azure_app_service/windows_code.md

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ further_reading:
2121

2222
## Overview
2323

24-
The Datadog extension for Azure App Service provides monitoring capabilities in addition to the [Datadog-Azure integration][6], 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.
2525

2626
- Full distributed APM tracing using automatic instrumentation.
2727
- Customized APM service and trace views showing relevant Azure App Service metrics and metadata.
@@ -65,15 +65,15 @@ There are no billing implications for tracing Java Web Apps during this period.
6565
## Installation
6666
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.
6767

68-
If you haven't already, set up the [Datadog-Azure integration][4]. 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.
68+
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.
6969

7070
<div class="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.
7171
</div>
7272

7373
{{< tabs >}}
7474
{{% tab "Terraform" %}}
7575

76-
The [Datadog Terraform module for Windows Web Apps][4] wraps the [azurerm_windows_web_app][5] resource and automatically configures your Web App for Datadog Serverless Monitoring by adding required environment variables and the Windows Web App extension for your runtime.
76+
The [Datadog Terraform module for Windows Web Apps][3] wraps the [azurerm_windows_web_app][4] resource and automatically configures your Web App for Datadog Serverless Monitoring by adding required environment variables and the Windows Web App extension for your runtime.
7777

7878
If you don't already have Terraform set up, [install Terraform][1], create a new directory, and make a file called `main.tf`.
7979

@@ -126,7 +126,7 @@ module "my_web_app" {
126126

127127
Finally, run `terraform apply`, and follow any prompts.
128128

129-
The [Datadog Windows Web App module][2] only deploys the Web App resource and extension, so you need to [deploy your code][3] separately.
129+
The [Datadog Windows Web App module][2] only deploys the Web App resource and extension, so you need to [deploy your code][2] separately.
130130

131131
[1]: https://developer.hashicorp.com/terraform/install
132132
[2]: https://registry.terraform.io/modules/DataDog/web-app-datadog/azurerm/latest/submodules/windows
@@ -149,11 +149,11 @@ The [Datadog Windows Web App module][2] only deploys the Web App resource and ex
149149

150150
`DD_SITE`
151151
: **Value**: Your Datadog site<br>
152-
Your [Datadog site][3]. Defaults to `datadoghq.com`.<br>
152+
Your [Datadog site][2]. Defaults to `datadoghq.com`.<br>
153153

154154
**Unified Service Tagging**
155155

156-
Datadog recommends tagging your application with the `env`, `service`, and `version` tags for [unified service tagging][4].
156+
Datadog recommends tagging your application with the `env`, `service`, and `version` tags for [unified service tagging][3].
157157

158158
`DD_SERVICE`
159159
: **Value**: Your application's service name.<br>
@@ -204,9 +204,9 @@ The [Datadog Windows Web App module][2] only deploys the Web App resource and ex
204204

205205
## Custom metrics
206206

207-
The Azure App Service extension includes an instance of [DogStatsD][2], 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.
207+
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.
208208

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][2], 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).
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][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).
210210

211211
To submit custom metrics to Datadog from Azure App Service using the extension:
212212

@@ -282,7 +282,7 @@ tracer.dogstatsd.decrement('example_metric.decrement', 1, { environment: 'dev' }
282282
- Set `DD_TRACE_ENABLED` to `false`.
283283
- Set `DD_AAS_ENABLE_CUSTOM_METRICS` to `true`.
284284

285-
Learn more about [custom metrics][3].
285+
Learn more about [custom metrics][2].
286286

287287
## Logging
288288

@@ -537,7 +537,7 @@ It is likely that you do not have the Azure integration configured to monitor yo
537537
538538
1. Go to the Azure integration tile.
539539
540-
2. Ensure you have installed the [Azure integration][4] for the Azure subscription where your application is running.
540+
2. Ensure you have installed the [Azure integration][3] for the Azure subscription where your application is running.
541541
542542
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.
543543
@@ -551,15 +551,14 @@ It is likely that you do not have the Azure integration configured to monitor yo
551551
552552
**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.
553553
554-
Still need help? Contact [Datadog support][5].
554+
Still need help? Contact [Datadog support][4].
555555
556556
### Further Reading
557557
558558
{{< partial name="whats-next/whats-next.html" >}}
559559
560560
[1]: /developers/dogstatsd
561-
[2]: /developers/dogstatsd
562-
[3]: /metrics/
563-
[4]: /integrations/azure/
564-
[5]: /help
565-
[6]: https://app.datadoghq.com/integrations/azure
561+
[2]: /metrics/
562+
[3]: /integrations/azure/
563+
[4]: /help
564+
[5]: https://app.datadoghq.com/integrations/azure

0 commit comments

Comments
 (0)