We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7db11b0 commit 78f16bcCopy full SHA for 78f16bc
src/SkyApm.Diagnostics.HttpClient/Handlers/DefaultRequestDiagnosticHandler.cs
@@ -16,6 +16,7 @@
16
*
17
*/
18
19
+using System;
20
using System.Linq;
21
using System.Net.Http;
22
using SkyApm.Common;
@@ -43,7 +44,7 @@ public bool OnlyMatch(HttpRequestMessage request)
43
44
45
public void Handle(ITracingContext tracingContext, HttpRequestMessage request)
46
{
- var operationName = request.RequestUri.ToString();
47
+ var operationName = request.RequestUri.GetLeftPart(UriPartial.Path);
48
var shouldStopPropagation = _httpClientDiagnosticConfig.StopHeaderPropagationPaths != null
49
&& _httpClientDiagnosticConfig.StopHeaderPropagationPaths
50
.Any(pattern => FastPathMatcher.Match(pattern, operationName));
0 commit comments