File tree Expand file tree Collapse file tree
tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ public static IEnumerable<object[]> GetEnabledConfig()
3939 public async Task SubmitsDsmMetrics ( string packageVersion )
4040 {
4141 SetEnvironmentVariable ( ConfigurationKeys . DataStreamsMonitoring . Enabled , "1" ) ;
42+ SetEnvironmentVariable ( ConfigurationKeys . PropagateProcessTags , "0" ) ;
4243
4344 using var telemetry = this . ConfigureTelemetry ( ) ;
4445 using var agent = EnvironmentHelper . GetMockAgent ( ) ;
Original file line number Diff line number Diff line change @@ -100,6 +100,9 @@ public async Task SubmitTraces(string packageVersion)
100100 targetSpan . Tags . Remove ( Tags . GitCommitSha ) ;
101101 targetSpan . Tags . Remove ( Tags . GitRepositoryUrl ) ;
102102
103+ // Remove process tags that get added to the first span of a payload
104+ targetSpan . Tags . Remove ( Tags . ProcessTags ) ;
105+
103106 // Remove EFD tags
104107 targetSpan . Tags . Remove ( TestTags . TestIsNew ) ;
105108 targetSpan . Tags . Remove ( TestTags . TestIsRetry ) ;
Original file line number Diff line number Diff line change @@ -94,6 +94,9 @@ public async Task SubmitTraces(string packageVersion)
9494 targetSpan . Tags . Remove ( Tags . GitCommitSha ) ;
9595 targetSpan . Tags . Remove ( Tags . GitRepositoryUrl ) ;
9696
97+ // Remove process tags that get added to the first span of a payload
98+ targetSpan . Tags . Remove ( Tags . ProcessTags ) ;
99+
97100 // Remove EFD tags
98101 targetSpan . Tags . Remove ( TestTags . TestIsNew ) ;
99102 targetSpan . Tags . Remove ( TestTags . TestIsRetry ) ;
Original file line number Diff line number Diff line change @@ -68,6 +68,9 @@ public virtual async Task SubmitTraces(string packageVersion)
6868 targetSpan . Tags . Remove ( Tags . GitCommitSha ) ;
6969 targetSpan . Tags . Remove ( Tags . GitRepositoryUrl ) ;
7070
71+ // Remove process tags that get added to the first span of a payload
72+ targetSpan . Tags . Remove ( Tags . ProcessTags ) ;
73+
7174 // Remove EFD tags
7275 targetSpan . Tags . Remove ( TestTags . TestIsNew ) ;
7376 targetSpan . Tags . Remove ( TestTags . TestIsRetry ) ;
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ public DataStreamsMonitoringManualApiTest(ITestOutputHelper output)
2828 public async Task ContextPropagation ( )
2929 {
3030 SetEnvironmentVariable ( ConfigurationKeys . DataStreamsMonitoring . Enabled , "1" ) ;
31+ SetEnvironmentVariable ( ConfigurationKeys . PropagateProcessTags , "0" ) ;
3132
3233 using var agent = EnvironmentHelper . GetMockAgent ( ) ;
3334 using var processResult = await RunSampleAndWaitForExit ( agent ) ;
You can’t perform that action at this time.
0 commit comments