Skip to content

Commit 0cee44f

Browse files
committed
feat(genai): Disable PII scrubbing for gen ai operation name
1 parent 0dfb91c commit 0cee44f

File tree

1 file changed

+4
-0
lines changed
  • relay-event-schema/src/protocol

1 file changed

+4
-0
lines changed

relay-event-schema/src/protocol/span.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,10 @@ pub struct SpanData {
624624
)]
625625
pub gen_ai_tool_name: Annotated<Value>,
626626

627+
/// The name of the operation being performed.
628+
#[metastructure(field = "gen_ai.operation.name", pii = "false")]
629+
pub gen_ai_operation_name: Annotated<String>,
630+
627631
/// The client's browser name.
628632
#[metastructure(field = "browser.name")]
629633
pub browser_name: Annotated<String>,

0 commit comments

Comments
 (0)