Monitoring components
Required collectors and extensions
Continuous monitoring
Capture errors during real sessions
Advanced filtering and processing
Filter events in code
Deployment and configuration
Console capture setup
Overview
GermainUX automatically captures JavaScript errors and browser-console events generated while users interact with monitored web applications. Each event is associated with its application, page, browser, user, and session context, helping teams understand what failed, who was affected, and what the user experienced.JavaScript Console and Error Monitoring is enabled by default for each User Monitoring Profile.
Monitoring components
Capabilities
GermainUX can capture and analyze:- Uncaught JavaScript errors reported by the browser.
- Console errors generated by the monitored application.
- Error messages and available stack traces.
- The application, page, browser, user, and session associated with each error.
- Additional console methods when explicitly enabled.
- User interactions and browser activity occurring around the error.
Show all 9
Show all 9
- Error frequency, recurrence, trends, and affected-user counts.
- Related network requests, long tasks, freezes, and other available technical evidence.
- Detailed JavaScript execution information when the JS Profiler is enabled.
Default monitoring
By default, GermainUX collects:
Continuous monitoring
GermainUX RUM JS or the GermainUX RUM Extension continuously captures JavaScript errors and configured console events during real user sessions. Use:- RUM JS when the GermainUX monitoring script can be deployed directly in the application.
- RUM Extension when direct script deployment is unavailable or the application’s security architecture prevents access to the required browser context.

Code-level investigation with JS Profiler
When continuous monitoring identifies an error that requires deeper technical evidence, the GermainUX JS Profiler can help investigate:- JavaScript function execution.
- Function duration.
- Exclusive and cumulative execution time.
- Long-running browser tasks.
- JavaScript errors and stack traces.
- Browser events and user interactions.
Show all 9
Show all 9
- DOM and rendering activity.
- Network requests and resource loading.
- Application, page, and session context.
Business benefits
JavaScript Console and Error Monitoring helps organizations:- Detect front-end failures affecting real users.
- Identify the users, sessions, pages, and workflows affected by each error.
- Prioritize errors according to frequency and actual user or business impact.
- Understand what users did before and after an error.
- Reduce the time spent reproducing intermittent problems.
- Distinguish isolated errors from widespread application failures.
Show all 9
Show all 9
- Detect regressions introduced by new application releases.
- Provide developers with actionable messages, stack traces, session evidence, and code-level diagnostics.
- Validate that a correction eliminated or reduced the error.
Analytics
GermainUX can analyze JavaScript errors and console events through KPIs, measures, pivots, trends, drill-through views, and session context.
Configuration
Configuration is required only when the default console-event collection needs to be customized.Collect additional console methods
The following example collects informational messages, warnings, and errors:assertclearcountcountResetdebugdir
Show all 20
Show all 20
dirxmlerrorgroupgroupCollapsedgroupEndinfologtabletimetimeEndtimeLogtimeStamptracewarn
log or debug can generate a substantial amount of data.
Disable console-event collection
To disable console-event collection, configure an emptymethods array:
Limit collected content
Console messages and stack traces can contain large amounts of text. UsemaxLogStringLength to limit the amount of console content collected.
The following example collects informational messages, warnings, and errors while limiting each console value to 100 characters:
Advanced filtering and processing
UseeventProcessor when application-specific logic is required to filter or modify a console event before GermainUX sends it.
trueto send the processed event.falseto discard the event.
- Exclude known non-actionable messages.
- Remove or replace sensitive values.
- Normalize dynamic error messages.
- Categorize application-specific errors.
- Reduce duplicate or excessively verbose events.
Privacy and data protection
Console messages, error text, stack traces, URLs, and related application context can contain sensitive information. Before collecting additional console methods:- Review what the application writes to the browser console.
- Avoid logging passwords, authentication tokens, payment data, personal information, or other secrets.
- Limit console collection to the methods required.
- Truncate unnecessarily long values.
- Filter or sanitize sensitive content with
eventProcessor. - Restrict access to detailed error and session information.
- Apply the organization’s retention and compliance requirements.
Recommended investigation workflow
- Use RUM JS or the RUM Extension to detect JavaScript errors affecting real users.
- Determine the affected users, sessions, pages, browsers, and workflows.
- Review the error message, stack trace, and related session evidence.
- Correlate the error with clicks, navigation, network requests, long tasks, freezes, and other available events.
- Enable the JS Profiler for a controlled scope when deeper code-level evidence is required.
- Identify the responsible function, script, resource, or dependency.
- Implement the correction.
- Validate the result using continuous error monitoring and, when necessary, another targeted profiling session.
Deployment and configuration
- Review Browser Monitoring.
- Review the Browser Monitoring Deployment Overview.
- Deploy GermainUX RUM JS when the monitoring script can be added to the application.
- Deploy the GermainUX RUM Extension when direct script deployment is unavailable or access to the complete browser-page context requires an extension.
- Deploy the GermainUX JS Profiler for deeper JavaScript execution and code-level diagnostics.
- Review the available Browser Monitoring configuration.
Show all 11
Show all 11
- Review Unhandled Promise Rejection Monitoring.
- Review Dead, Error and Rage Click Monitoring.
- Review JavaScript Long Task and Browser Freeze Detection.
- Review the KPIs for User Monitoring and Replay.
- Review the available Browser Monitoring KPIs.
Get Help
Contact GermainUX Support
The Germain Team can help you set this up.
Can't find what you need?
Search all GermainUX docs with Ctrl + K, or use the feedback buttons at the bottom of this page to tell us what is missing.
The content of this document is proprietary to GERMAIN SOFTWARE LLC.

