in packages/rum-core/src/performance-monitoring/transaction-service.js [458:473]
shouldIgnoreTransaction(transactionName) {
var ignoreList = this._config.get('ignoreTransactions')
if (ignoreList && ignoreList.length) {
for (var i = 0; i < ignoreList.length; i++) {
var element = ignoreList[i]
if (typeof element.test === 'function') {
if (element.test(transactionName)) {
return true
}
} else if (element === transactionName) {
return true
}
}
}
return false
}