in packages/rum-core/src/common/config-service.js [66:108]
constructor() {
this.config = {
serviceName: '',
serviceVersion: '',
environment: '',
serverUrl: 'http://localhost:8200',
serverUrlPrefix: '',
active: true,
instrument: true,
disableInstrumentations: [],
logLevel: 'warn',
breakdownMetrics: false,
ignoreTransactions: [],
eventsLimit: 80,
queueLimit: -1,
flushInterval: 500,
distributedTracing: true,
distributedTracingOrigins: [],
distributedTracingHeaderName: 'traceparent',
pageLoadTraceId: '',
pageLoadSpanId: '',
pageLoadSampled: false,
pageLoadParentId: '',
pageLoadTransactionName: '',
propagateTracestate: false,
transactionSampleRate: 1.0,
centralConfig: false,
monitorLongtasks: true,
apiVersion: 2,
context: {},
session: false,
apmRequest: null,
sendCredentials: false
}
this.events = new EventHandler()
this.filters = []
/**
* Packages that uses rum-core under the hood must override
* the version via setVersion
*/
this.version = ''
}