Skip to content

Commit 5eb567a

Browse files
committed
feat: Add default WinRT event exclusion patterns
Initializes the configuration's exclusion list with patterns "__Restricted*" and "Restricted*". These patterns are specific to WinRT environments and are intended to filter out events originating from internal or restricted system components, improving the relevance of collected event data. #312
1 parent 4c26704 commit 5eb567a

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/Exceptionless/Configuration/ExceptionlessConfiguration.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,12 @@ public class ExceptionlessConfiguration {
3434
private int _submissionBatchSize;
3535
private ValidationResult _validationResult;
3636
private TimeSpan? _updateSettingsWhenIdleInterval;
37-
private readonly List<string> _exclusions = new List<string>();
37+
38+
// Default Exclusions for WinRT
39+
private readonly List<string> _exclusions = new List<string>() {
40+
"__Restricted*",
41+
"Restricted*"
42+
};
3843
private readonly List<string> _userAgentBotPatterns = new List<string>();
3944
private readonly List<Func<Event, bool>> _eventExclusions = new List<Func<Event, bool>>();
4045

0 commit comments

Comments
 (0)