Error Tracking
Enabling Error Tracking
mtrix.init({
organizationId: 'your-organization-id',
projectId: 'your-project-id',
environment: 'production',
options: {
errorReporting: {
tracking: true,
captureTypes: ['exception', 'promise', 'network', 'console'],
ignoreErrors: ['Script error.', /Chrome Extensions/],
maxErrorsPerMinute: 10,
recordStackTrace: true,
recordContext: true
}
}
});Types of Errors Captured
Unhandled Exceptions
Promise Rejections
Network Errors
Console Errors
Error Data Structure
Manual Error Tracking
Error Context & Breadcrumbs
Integration with Session Recording
Error Grouping and Analysis
Error Alerting
Source Maps Integration
Client Implementation
JavaScript Integration
Basic HTML/JavaScript
Using Module Bundlers
Last updated
