@@ -75,7 +75,7 @@ tap.test('send records correctly', (t) => {
75
75
t . equal ( sendMetric . callCount , 1 )
76
76
77
77
const produceTrackingMetric = agent . metrics . getMetric (
78
- `MessageBroker/Kafka/Nodes/${ broker } /Produce/Named/ ${ topic } `
78
+ `MessageBroker/Kafka/Nodes/${ broker } /Produce/${ topic } `
79
79
)
80
80
t . equal ( produceTrackingMetric . callCount , 1 )
81
81
}
@@ -205,7 +205,7 @@ tap.test('sendBatch records correctly', (t) => {
205
205
t . equal ( sendMetric . callCount , 1 )
206
206
207
207
const produceTrackingMetric = agent . metrics . getMetric (
208
- `MessageBroker/Kafka/Nodes/${ broker } /Produce/Named/ ${ topic } `
208
+ `MessageBroker/Kafka/Nodes/${ broker } /Produce/${ topic } `
209
209
)
210
210
t . equal ( produceTrackingMetric . callCount , 1 )
211
211
@@ -262,7 +262,7 @@ tap.test('consume outside of a transaction', async (t) => {
262
262
t . equal ( sendMetric . callCount , 1 )
263
263
264
264
const consumeTrackingMetric = agent . metrics . getMetric (
265
- `MessageBroker/Kafka/Nodes/${ broker } /Consume/Named/ ${ topic } `
265
+ `MessageBroker/Kafka/Nodes/${ broker } /Consume/${ topic } `
266
266
)
267
267
t . equal ( consumeTrackingMetric . callCount , 1 )
268
268
@@ -376,7 +376,7 @@ tap.test('consume batch inside of a transaction', async (t) => {
376
376
t . equal ( sendMetric . callCount , 1 )
377
377
378
378
const consumeTrackingMetric = agent . metrics . getMetric (
379
- `MessageBroker/Kafka/Nodes/${ broker } /Consume/Named/ ${ topic } `
379
+ `MessageBroker/Kafka/Nodes/${ broker } /Consume/${ topic } `
380
380
)
381
381
t . equal ( consumeTrackingMetric . callCount , 1 )
382
382
0 commit comments