@@ -126,7 +126,7 @@ class ConflatingMetricAggregatorTest extends DDSpecification {
126
126
" type" ,
127
127
HTTP_OK ,
128
128
false ,
129
- true ,
129
+ false ,
130
130
" baz" ,
131
131
[]
132
132
), _) >> { MetricKey key , AggregateMetric value ->
@@ -197,7 +197,7 @@ class ConflatingMetricAggregatorTest extends DDSpecification {
197
197
features. supportsMetrics() >> true
198
198
features. peerTags() >>> [[" country" ], [" country" , " georegion" ],]
199
199
ConflatingMetricsAggregator aggregator = new ConflatingMetricsAggregator (empty,
200
- features, sink, writer, 10 , queueSize, reportingInterval, SECONDS )
200
+ features, HealthMetrics . NO_OP , sink, writer, 10 , queueSize, reportingInterval, SECONDS )
201
201
aggregator. start()
202
202
203
203
when :
@@ -256,7 +256,7 @@ class ConflatingMetricAggregatorTest extends DDSpecification {
256
256
features. supportsMetrics() >> true
257
257
features. peerTags() >> [" peer.hostname" , " _dd.base_service" ]
258
258
ConflatingMetricsAggregator aggregator = new ConflatingMetricsAggregator (empty,
259
- features, sink, writer, 10 , queueSize, reportingInterval, SECONDS )
259
+ features, HealthMetrics . NO_OP , sink, writer, 10 , queueSize, reportingInterval, SECONDS )
260
260
aggregator. start()
261
261
262
262
when :
@@ -327,7 +327,7 @@ class ConflatingMetricAggregatorTest extends DDSpecification {
327
327
" type" ,
328
328
HTTP_OK ,
329
329
false ,
330
- topLevel ,
330
+ false ,
331
331
" baz" ,
332
332
[]
333
333
), { AggregateMetric value ->
@@ -444,7 +444,7 @@ class ConflatingMetricAggregatorTest extends DDSpecification {
444
444
" type" ,
445
445
HTTP_OK ,
446
446
false ,
447
- true ,
447
+ false ,
448
448
" baz" ,
449
449
[]
450
450
), _) >> { MetricKey key , AggregateMetric value ->
@@ -458,7 +458,7 @@ class ConflatingMetricAggregatorTest extends DDSpecification {
458
458
" type" ,
459
459
HTTP_OK ,
460
460
false ,
461
- true ,
461
+ false ,
462
462
" baz" ,
463
463
[]
464
464
), _)
@@ -503,7 +503,7 @@ class ConflatingMetricAggregatorTest extends DDSpecification {
503
503
" type" ,
504
504
HTTP_OK ,
505
505
false ,
506
- true ,
506
+ false ,
507
507
" baz" ,
508
508
[]
509
509
), { AggregateMetric value ->
@@ -534,7 +534,7 @@ class ConflatingMetricAggregatorTest extends DDSpecification {
534
534
" type" ,
535
535
HTTP_OK ,
536
536
false ,
537
- true ,
537
+ false ,
538
538
" baz" ,
539
539
[]
540
540
), { AggregateMetric value ->
@@ -548,7 +548,7 @@ class ConflatingMetricAggregatorTest extends DDSpecification {
548
548
" type" ,
549
549
HTTP_OK ,
550
550
false ,
551
- true ,
551
+ false ,
552
552
" baz" ,
553
553
[]
554
554
), _)
@@ -593,7 +593,7 @@ class ConflatingMetricAggregatorTest extends DDSpecification {
593
593
" type" ,
594
594
HTTP_OK ,
595
595
false ,
596
- true ,
596
+ false ,
597
597
" quux" ,
598
598
[]
599
599
), { AggregateMetric value ->
@@ -631,7 +631,7 @@ class ConflatingMetricAggregatorTest extends DDSpecification {
631
631
CountDownLatch latch = new CountDownLatch (1 )
632
632
for (int i = 0 ; i < 5 ; ++ i) {
633
633
aggregator. publish([
634
- new SimpleSpan (" service" + i, " operation" , " resource" , " type" , false , true , false , 0 , duration, HTTP_OK )
634
+ new SimpleSpan (" service" + i, " operation" , " resource" , " type" , false , true , false , 0 , duration, HTTP_OK , true )
635
635
.setTag(SPAN_KIND , " garply" )
636
636
])
637
637
}
0 commit comments