Skip to content

Commit 858b9bd

Browse files
committed
Change some test
1 parent dff3a8f commit 858b9bd

File tree

2 files changed

+24
-4
lines changed

2 files changed

+24
-4
lines changed

dev-packages/node-integration-tests/suites/tracing/metric-summaries/scenario.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,16 @@ Sentry.startSpan(
2020
op: 'transaction',
2121
},
2222
() => {
23-
Sentry.metrics.increment('root-counter');
24-
Sentry.metrics.increment('root-counter');
23+
Sentry.metrics.increment('root-counter', 1, {
24+
tags: {
25+
26+
}
27+
});
28+
Sentry.metrics.increment('root-counter', 1, {
29+
tags: {
30+
31+
}
32+
});
2533

2634
Sentry.startSpan(
2735
{

dev-packages/node-integration-tests/suites/tracing/metric-summaries/test.ts

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,23 @@ const EXPECTED_TRANSACTION = {
77
{
88
min: 1,
99
max: 1,
10-
count: 2,
11-
sum: 2,
10+
count: 1,
11+
sum: 1,
1212
tags: {
1313
release: '1.0',
1414
transaction: 'Test Transaction',
15+
16+
},
17+
},
18+
{
19+
min: 1,
20+
max: 1,
21+
count: 1,
22+
sum: 1,
23+
tags: {
24+
release: '1.0',
25+
transaction: 'Test Transaction',
26+
1527
},
1628
},
1729
],

0 commit comments

Comments
 (0)