File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed
developer-extension/src/panel/components/tabs/eventsTab Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ const RUM_EVENT_TYPE_COLOR = {
3434 view : 'blue' ,
3535 resource : 'cyan' ,
3636 telemetry : 'teal' ,
37+ transition : 'black' ,
3738 vital : 'orange' ,
3839 transition : 'green' ,
3940}
Original file line number Diff line number Diff line change @@ -92,11 +92,6 @@ export function startRumAssembly(
9292 ...VIEW_MODIFIABLE_FIELD_PATHS ,
9393 ...ROOT_MODIFIABLE_FIELD_PATHS ,
9494 } ,
95- [ RumEventType . TRANSITION ] : {
96- ...USER_CUSTOMIZABLE_FIELD_PATHS ,
97- ...VIEW_MODIFIABLE_FIELD_PATHS ,
98- ...ROOT_MODIFIABLE_FIELD_PATHS ,
99- } ,
10095 }
10196 const eventRateLimiters = {
10297 [ RumEventType . ERROR ] : createEventRateLimiter (
Original file line number Diff line number Diff line change @@ -30,7 +30,13 @@ export function trackEventCounts({
3030 }
3131
3232 const subscription = lifeCycle . subscribe ( LifeCycleEventType . RUM_EVENT_COLLECTED , ( event ) : void => {
33- if ( event . type === 'view' || event . type === 'vital' || ! isChildEvent ( event ) || [ 'stream' ] . includes ( event . type ) ) {
33+ if (
34+ event . type === 'view' ||
35+ event . type === 'vital' ||
36+ event . type === 'transition' ||
37+ ! isChildEvent ( event ) ||
38+ [ 'stream' ] . includes ( event . type )
39+ ) {
3440 return
3541 }
3642 switch ( event . type ) {
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ export const RumEventType = {
2929 RESOURCE : 'resource' ,
3030 VITAL : 'vital' ,
3131 STREAM : 'stream' ,
32- TRANSITION : 'transition' ,
3332} as const
3433
3534export type RumEventType = ( typeof RumEventType ) [ keyof typeof RumEventType ]
You canβt perform that action at this time.
0 commit comments