relay_event_normalization/
lib.rs1#![warn(missing_docs)]
4#![doc(
5 html_logo_url = "https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png",
6 html_favicon_url = "https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png"
7)]
8
9mod clock_drift;
10pub mod eap;
11mod event;
12mod event_error;
13mod geo;
14mod legacy;
15mod logentry;
16mod mechanism;
17mod normalize;
18mod regexes;
19mod remove_other;
20mod schema;
21mod stacktrace;
22mod statsd;
23mod timestamp;
24mod transactions;
25mod trimming;
26mod validation;
27
28pub use validation::{EventValidationConfig, validate_event, validate_standalone_span};
29pub mod replay;
30pub use event::{
31 NormalizationConfig, infer_event_type, normalize_event, normalize_measurements,
32 normalize_performance_score,
33};
34pub use normalize::breakdowns::*;
35pub use normalize::*;
36pub use remove_other::RemoveOtherProcessor;
37pub use schema::{RequiredMode, SchemaProcessor};
38pub use timestamp::TimestampProcessor;
39pub use transactions::*;
40pub use trimming::TrimmingProcessor;
41pub use user_agent::*;
42
43pub use self::clock_drift::*;
44pub use self::geo::*;
45
46pub use sentry_release_parser::{validate_environment, validate_release};
47
48enum MaxChars {
53 Distribution,
54 Logger,
55}
56
57impl MaxChars {
58 pub fn limit(self) -> usize {
59 match self {
60 Self::Distribution => 64,
61 Self::Logger => 64,
62 }
63 }
64}