Crate relay_filter
source ·Expand description
Implements event filtering.
Events may be filtered base on the following configurable criteria.
- localhost (filter events originating from the local machine)
- browser extensions (filter events caused by known problematic browser extensions)
- web crawlers (filter events sent by user agents known to be web crawlers)
- legacy browsers (filter events originating from legacy browsers, can be configured)
Re-exports§
pub use crate::csp::matches_any_origin;
pub use crate::generic::are_generic_filters_supported;
Modules§
- Implements filtering for events caused by problematic browsers extensions.
- Implements event filtering based on the client ip address.
- Implements event filtering for events originating from CSP endpoints
- Implements event filtering based on the error message
- Implements generic filtering based on the [
RuleCondition
] DSL. - Implements filtering for events originating from legacy browsers.
- Implements filtering for events originating from the localhost
- Implements event filtering based on whether the endpoint called is a healthcheck endpoint.
- Filters events coming from user agents known to be web crawlers.
Structs§
- Configuration for the client ips filter.
- Configuration for the CSP filter.
- Configuration for the error messages filter.
- Common configuration for event filters.
- Configuration for a generic filter.
- Configuration for generic filters.
- Map of generic filters, mapping from the id to the filter itself.
- Configuration for transaction name filter.
- Configuration for the legacy browsers filter.
- Configuration for all event filters from project configs.
- Configuration for the releases filter.
Enums§
- Identifies which filter dropped an event for which reason.
- A browser class to be filtered by the legacy browser filter.
Traits§
- A data item to which filters can be applied.
Functions§
- Checks whether an event should be filtered for a particular configuration.