File tree Expand file tree Collapse file tree
tests/Agent/IntegrationTests
SharedApplications/ConsoleMultiFunctionApplicationFW/NetFrameworkLibraries/WCF Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -242,17 +242,20 @@ jobs:
242242 "DataTransmission",
243243 "DistributedTracing",
244244 "Errors",
245+ "Grpc",
245246 "HttpClientInstrumentation",
246247 "HybridHttpContextStorage",
247248 "InfiniteTracing",
248249 "LLM",
249250 "Logging.AuditLog",
250251 "Logging.ContextData",
251252 "Logging.HsmAndCsp",
253+ "Logging.Labels",
252254 "Logging.LocalDecoration",
253255 "Logging.LogLevelDetection",
254256 "Logging.MaxSamplesStored",
255257 "Logging.MetricsAndForwarding",
258+ "Logging.StructuredLogArgContextData",
256259 "Logging.ZeroMaxSamplesStored",
257260 "MassTransit",
258261 "OpenTelemetry",
@@ -285,6 +288,7 @@ jobs:
285288 "MySql",
286289 "NServiceBus",
287290 "NServiceBus5",
291+ "OpenSearch",
288292 "Oracle",
289293 "Postgres",
290294 "RabbitMq",
Original file line number Diff line number Diff line change 99using NewRelic . Agent . IntegrationTests . Shared . Wcf ;
1010using Xunit ;
1111
12- namespace NewRelic . Agent . IntegrationTests . WCF ;
12+ namespace NewRelic . Agent . IntegrationTests . WCF . Client . Self ;
1313
1414/// <summary>
1515/// Verifies that when outbound WCF HTTP requests already have DT headers
@@ -65,7 +65,9 @@ public void AgentReplacesExistingDTHeaders()
6565
6666 var expectedMetrics = new List < Assertions . ExpectedMetric >
6767 {
68- new ( ) { metricName = "Supportability/TraceContext/Create/Success" , CallCountAllHarvests = 1 } ,
68+ // One create from the external call used to start the agent during WCF service initialization,
69+ // one create from the call being made by GetDataWithExistingDTHeaders
70+ new ( ) { metricName = "Supportability/TraceContext/Create/Success" , CallCountAllHarvests = 2 } ,
6971 new ( ) { metricName = "Supportability/TraceContext/Accept/Success" , CallCountAllHarvests = 1 } ,
7072 } ;
7173
Original file line number Diff line number Diff line change @@ -238,6 +238,7 @@ public void GetDataWithHeaders()
238238 }
239239
240240 [ LibraryMethod ]
241+ [ Transaction ]
241242 public void GetDataWithExistingDTHeaders ( )
242243 {
243244 using ( var scope = new OperationContextScope ( ( _wcfClient as WcfClient ) . InnerChannel ) )
You can’t perform that action at this time.
0 commit comments