From b086af9d18d5fe85c5aa37cb8c5ddcfea8dd0fc4 Mon Sep 17 00:00:00 2001 From: Luca Belluccini Date: Thu, 24 Oct 2024 12:17:52 +0200 Subject: [PATCH] [DOCS] Troubleshooting for ASE --- docs/troubleshooting.asciidoc | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/troubleshooting.asciidoc b/docs/troubleshooting.asciidoc index 2e9d962f0..ce4dea0d7 100644 --- a/docs/troubleshooting.asciidoc +++ b/docs/troubleshooting.asciidoc @@ -283,4 +283,15 @@ Should be changed to: image::./images/integrated-pipeline.png[Integrated Managed Pipeline Mode in Properties] -You may need to restart Visual Studio for these changes to fully apply. \ No newline at end of file +You may need to restart Visual Studio for these changes to fully apply. + +[float] +[[azure-app-services-traceparent]] +=== Azure App Services / ASE and sampling + +Azure/ASE adds trace headers set to unsampled for incoming requests to the cluster. + +Elastic APM .NET Agent (and likely also other agents which correctly handle the W3C Trace Parent header sampling) will obey to the traceparent header sampling of the incoming request. +As a consequence, the traces/spans will not be sent to APM Server/Integration and therefore APM UI will not show anything. + +We recommend using `trace_continuation_strategy` set to `restart` or `restart_external`, so that the APM .NET Agent will ignore the incoming traceparent header sampling flag.