Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
- Bump the revision of `sysinfo` to the revision at `15b3be3273ba286740122fed7bb7dccd2a79dc8f`. ([#4613](https://github.com/getsentry/relay/pull/4613))
- Switch the processor and store to `async`. ([#4552](https://github.com/getsentry/relay/pull/4552))
- Validate the spooling memory configuration on startup. ([#4617](https://github.com/getsentry/relay/pull/4617))
- Adjust 'log' protocol / envelope item type per sdk feedback ([#4592](https://github.com/getsentry/relay/pull/4592))

## 25.3.0

Expand Down
1 change: 0 additions & 1 deletion relay-event-schema/src/processor/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ pub trait Processor: Sized {
process_method!(process_trace_context, crate::protocol::TraceContext);
process_method!(process_native_image_path, crate::protocol::NativeImagePath);
process_method!(process_contexts, crate::protocol::Contexts);
process_method!(process_attribute_value, crate::protocol::AttributeValue);

fn process_other(
&mut self,
Expand Down
17 changes: 17 additions & 0 deletions relay-event-schema/src/protocol/attribute.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
use crate::processor::ProcessValue;
use relay_protocol::{Annotated, Empty, FromValue, IntoValue, Value};

#[derive(Clone, Debug, Default, PartialEq, Empty, FromValue, IntoValue, ProcessValue)]
#[metastructure(trim = false)]
pub struct Attribute {
#[metastructure(field = "value", pii = "true", required = true)]
value: Annotated<Value>,
}

#[derive(Clone, Debug, PartialEq, Empty, FromValue, IntoValue, ProcessValue)]
pub enum AttributeValue {
String { value: Annotated<String> },
Int { value: Annotated<i64> },
Double { value: Annotated<f64> },
Bool { value: Annotated<bool> },
}
Loading