Skip to content

Commit

Permalink
Change some test
Browse files Browse the repository at this point in the history
  • Loading branch information
cleptric committed Feb 8, 2024
1 parent ca12dc3 commit d6da2ac
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,16 @@ Sentry.startSpan(
op: 'transaction',
},
() => {
Sentry.metrics.increment('root-counter');
Sentry.metrics.increment('root-counter');
Sentry.metrics.increment('root-counter', 1, {
tags: {
email: '[email protected]',
}
});
Sentry.metrics.increment('root-counter', 1, {
tags: {
email: '[email protected]',
}
});

Sentry.startSpan(
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,23 @@ const EXPECTED_TRANSACTION = {
{
min: 1,
max: 1,
count: 2,
sum: 2,
count: 1,
sum: 1,
tags: {
release: '1.0',
transaction: 'Test Transaction',
email: '[email protected]',
},
},
{
min: 1,
max: 1,
count: 1,
sum: 1,
tags: {
release: '1.0',
transaction: 'Test Transaction',
email: '[email protected]',
},
},
],
Expand Down

0 comments on commit d6da2ac

Please sign in to comment.