File tree Expand file tree Collapse file tree 2 files changed +24
-4
lines changed
dev-packages/node-integration-tests/suites/tracing/metric-summaries Expand file tree Collapse file tree 2 files changed +24
-4
lines changed Original file line number Diff line number Diff 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+ email : 'jon.doe@example.com' ,
26+ }
27+ } ) ;
28+ Sentry . metrics . increment ( 'root-counter' , 1 , {
29+ tags : {
30+ email : 'jane.doe@example.com' ,
31+ }
32+ } ) ;
2533
2634 Sentry . startSpan (
2735 {
Original file line number Diff line number Diff 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+ email : 'jon.doe@example.com' ,
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+ email : 'jane.doe@example.com' ,
1527 } ,
1628 } ,
1729 ] ,
You can’t perform that action at this time.
0 commit comments