The telemetries configuration is an array that defines which categories of data the RUM client records. Each entry in the array can be either a simple string (using default settings) or an array containing the telemetry name and a configuration object.
Available Telemetry Names:
errors: Records JavaScript errors (unhandled by default).http: Records HTTP requests (failed requests by default). Required for X-Ray tracing.interaction: Records DOM events (must be configured to record specific events).performance: Records page load timing, web vitals, and resource load timing.replay: Records a session replay using rrweb (text/input content is masked by default).
Examples:
Using default configurations:
telemetries: ['errors', 'performance', 'http'];
Providing partial configurations:
telemetries: [
['errors', { stackTraceLength: 500 }],
'performance',
['http', { stackTraceLength: 500, addXRayTraceIdHeader: true }]
];