fix(analytics-ga): Ignore some events
This commit is contained in:
parent
61deb74444
commit
00cd82d976
|
@ -126,10 +126,12 @@
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// The e2e rtt, rtp stats and rtt by region stats are not useful in GA,
|
const ignoredEvents
|
||||||
// and there are too many of them. We just filter them out for now.
|
= [ 'e2e_rtt', 'rtp.stats', 'rtt.by.region', 'available.device',
|
||||||
if (event.action === 'e2e_rtt' || event.action === 'rtp.stats'
|
'stream.switch.delay', 'ice.state.changed', 'ice.duration' ];
|
||||||
|| event.action === 'rtt.by.region') {
|
|
||||||
|
// Temporary removing some of the events that are too noisy.
|
||||||
|
if (ignoredEvents.indexOf(event.action) !== -1) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue