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(
20
20
op : 'transaction' ,
21
21
} ,
22
22
( ) => {
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
+ } ) ;
25
33
26
34
Sentry . startSpan (
27
35
{
Original file line number Diff line number Diff line change @@ -7,11 +7,23 @@ const EXPECTED_TRANSACTION = {
7
7
{
8
8
min : 1 ,
9
9
max : 1 ,
10
- count : 2 ,
11
- sum : 2 ,
10
+ count : 1 ,
11
+ sum : 1 ,
12
12
tags : {
13
13
release : '1.0' ,
14
14
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' ,
15
27
} ,
16
28
} ,
17
29
] ,
You can’t perform that action at this time.
0 commit comments