Grouping Process
Fingerprint Matching
Get the fingerprint of the error event and compare it with fingerprints of existing Issues
Automatic Merging
If the new event shares the same fingerprint as an existing Issue, it is automatically grouped into that Issue
Default Fingerprint
Flashduty enables error grouping by default, working without additional configuration. The Browser SDK automatically collects error data and performs grouping.- Integrate SDK
- Initialize SDK
Include the Flashduty Browser SDK in your HTML file:
Fingerprint Calculation Rules
When an error event doesn’t carry a fingerprint, Flashduty automatically calculates one based on the following error attributes:| Attribute | Description |
|---|---|
service | Service where the error occurred |
env | Environment where the error occurred |
error.type | Error type classification |
error.message | Error description text |
Custom Fingerprint
If default grouping doesn’t meet your needs, you can fully control error grouping behavior by providing a custom fingerprint.- Manually Add Fingerprint
- Use beforeSend Callback
When manually reporting errors, add a custom fingerprint via
addError:- Custom fingerprint must be a string type
- Errors with the same fingerprint within the same service will be grouped into the same Issue
- Errors from different services will be grouped into different Issues even if they have the same fingerprint
- The
beforeSendcallback can also be used to filter irrelevant errors (such as third-party script errors)
Web-Specific Considerations
SourceMap Integration
SourceMap Integration
Upload
sourcemap files to decode minified stack traces, ensuring grouped error stacks can be mapped to original source code.Third-party Script Error Filtering
Third-party Script Error Filtering
By default, Flashduty filters errors from browser extensions or third-party scripts (such as
network source) to reduce noise.You can further customize filtering rules via beforeSend:View Grouping Results
In the Flashduty platform, navigate to “Error Tracking” to view the grouped Issue list. Each Issue contains:| Content | Description |
|---|---|
| Error message and stack trace | If sourcemap is uploaded, shows original source code location |
| User session timeline | Operation path that triggered the error |
| Metadata | Browser type, version number, etc. |
Next Steps
Issue Status
Learn about Issue status transition mechanisms