diff --git a/relay_filter/struct.ErrorMessagesFilterConfig.html b/relay_filter/struct.ErrorMessagesFilterConfig.html index 5cd51ca327..dad7018277 100644 --- a/relay_filter/struct.ErrorMessagesFilterConfig.html +++ b/relay_filter/struct.ErrorMessagesFilterConfig.html @@ -1,7 +1,7 @@ ErrorMessagesFilterConfig in relay_filter - Rust

Struct relay_filter::ErrorMessagesFilterConfig

source ·
pub struct ErrorMessagesFilterConfig {
-    pub patterns: GlobPatterns,
+    pub patterns: GlobPatterns,
 }
Expand description

Configuration for the error messages filter.

-

Fields§

§patterns: GlobPatterns

List of error message patterns that will be filtered.

+

Fields§

§patterns: GlobPatterns

List of error message patterns that will be filtered.

Implementations§

source§

impl ErrorMessagesFilterConfig

source

pub fn is_empty(&self) -> bool

Returns true if no configuration for this filter is given.

Trait Implementations§

source§

impl Clone for ErrorMessagesFilterConfig

source§

fn clone(&self) -> ErrorMessagesFilterConfig

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ErrorMessagesFilterConfig

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ErrorMessagesFilterConfig

source§

fn default() -> ErrorMessagesFilterConfig

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for ErrorMessagesFilterConfig

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for ErrorMessagesFilterConfig

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where diff --git a/relay_filter/struct.IgnoreTransactionsFilterConfig.html b/relay_filter/struct.IgnoreTransactionsFilterConfig.html index fc51631acb..6bc1fdd171 100644 --- a/relay_filter/struct.IgnoreTransactionsFilterConfig.html +++ b/relay_filter/struct.IgnoreTransactionsFilterConfig.html @@ -1,8 +1,8 @@ IgnoreTransactionsFilterConfig in relay_filter - Rust

Struct relay_filter::IgnoreTransactionsFilterConfig

source ·
pub struct IgnoreTransactionsFilterConfig {
-    pub patterns: GlobPatterns,
+    pub patterns: GlobPatterns,
     pub is_enabled: bool,
 }
Expand description

Configuration for transaction name filter.

-

Fields§

§patterns: GlobPatterns

List of patterns for ignored transactions that should be filtered.

+

Fields§

§patterns: GlobPatterns

List of patterns for ignored transactions that should be filtered.

§is_enabled: bool

True if the filter is enabled

Implementations§

source§

impl IgnoreTransactionsFilterConfig

source

pub fn is_empty(&self) -> bool

Returns true if no configuration for this filter is given.

Trait Implementations§

source§

impl Clone for IgnoreTransactionsFilterConfig

source§

fn clone(&self) -> IgnoreTransactionsFilterConfig

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for IgnoreTransactionsFilterConfig

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for IgnoreTransactionsFilterConfig

source§

fn default() -> IgnoreTransactionsFilterConfig

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for IgnoreTransactionsFilterConfig

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where diff --git a/relay_filter/struct.ReleasesFilterConfig.html b/relay_filter/struct.ReleasesFilterConfig.html index 3fac1e1771..7377fd4377 100644 --- a/relay_filter/struct.ReleasesFilterConfig.html +++ b/relay_filter/struct.ReleasesFilterConfig.html @@ -1,7 +1,7 @@ ReleasesFilterConfig in relay_filter - Rust

Struct relay_filter::ReleasesFilterConfig

source ·
pub struct ReleasesFilterConfig {
-    pub releases: GlobPatterns,
+    pub releases: GlobPatterns,
 }
Expand description

Configuration for the releases filter.

-

Fields§

§releases: GlobPatterns

List of release names that will be filtered.

+

Fields§

§releases: GlobPatterns

List of release names that will be filtered.

Implementations§

source§

impl ReleasesFilterConfig

source

pub fn is_empty(&self) -> bool

Returns true if no configuration for this filter is given.

Trait Implementations§

source§

impl Clone for ReleasesFilterConfig

source§

fn clone(&self) -> ReleasesFilterConfig

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ReleasesFilterConfig

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ReleasesFilterConfig

source§

fn default() -> ReleasesFilterConfig

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for ReleasesFilterConfig

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for ReleasesFilterConfig

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where diff --git a/relay_monitors/fn.process_check_in.html b/relay_monitors/fn.process_check_in.html index ffe584a8bc..e23779685c 100644 --- a/relay_monitors/fn.process_check_in.html +++ b/relay_monitors/fn.process_check_in.html @@ -1,5 +1,5 @@ process_check_in in relay_monitors - Rust

Function relay_monitors::process_check_in

source ·
pub fn process_check_in(
     payload: &[u8],
-    project_id: ProjectId,
+    project_id: ProjectId,
 ) -> Result<ProcessedCheckInResult, ProcessCheckInError>
Expand description

Normalizes a monitor check-in payload.

\ No newline at end of file diff --git a/src/relay_config/config.rs.html b/src/relay_config/config.rs.html index 63164ce15c..bed3d18a79 100644 --- a/src/relay_config/config.rs.html +++ b/src/relay_config/config.rs.html @@ -2595,6 +2595,18 @@ 2595 2596 2597 +2598 +2599 +2600 +2601 +2602 +2603 +2604 +2605 +2606 +2607 +2608 +2609
use std::collections::{BTreeMap, HashMap};
 use std::error::Error;
 use std::io::Write;
@@ -3527,7 +3539,7 @@
             disk_batch_size: spool_envelopes_stack_disk_batch_size(),
             max_batches: spool_envelopes_stack_max_batches(),
             max_envelope_delay_secs: spool_envelopes_max_envelope_delay_secs(),
-            version: EnvelopeSpoolVersion::V2,
+            version: EnvelopeSpoolVersion::default(),
         }
     }
 }
@@ -5191,5 +5203,17 @@
     fn test_emit_outcomes_invalid() {
         assert!(serde_json::from_str::<EmitOutcomes>("asdf").is_err());
     }
+
+    #[test]
+    fn test_spool_defaults_to_v1() {
+        let config: ConfigValues = serde_json::from_str("{}").unwrap();
+        assert!(matches!(
+            config.spool.envelopes.version,
+            EnvelopeSpoolVersion::V1
+        ));
+
+        let config = Config::from_json_value(serde_json::json!({})).unwrap();
+        assert!(!config.spool_v2());
+    }
 }
 

\ No newline at end of file