Skip to content

Commit

Permalink
fix test?
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-sentry committed May 21, 2024
1 parent 997e5a2 commit f54236c
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
3 changes: 3 additions & 0 deletions relay-event-schema/src/protocol/span.rs
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,9 @@ mod tests {
insta::assert_debug_snapshot!(data, @r###"
SpanData {
app_start_type: ~,
ai_total_tokens_used: ~,
ai_prompt_tokens_used: ~,
ai_completion_tokens_used: ~,
browser_name: ~,
code_filepath: String(
"task.py",
Expand Down
3 changes: 3 additions & 0 deletions relay-event-schema/src/protocol/span/convert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,9 @@ mod tests {
),
data: SpanData {
app_start_type: ~,
ai_total_tokens_used: ~,
ai_prompt_tokens_used: ~,
ai_completion_tokens_used: ~,
browser_name: "Chrome",
code_filepath: ~,
code_lineno: ~,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ expression: "(&event.value().unwrap().spans, metrics)"
profile_id: ~,
data: SpanData {
app_start_type: ~,
ai_total_tokens_used: ~,
ai_prompt_tokens_used: ~,
ai_completion_tokens_used: ~,
browser_name: ~,
code_filepath: ~,
code_lineno: ~,
Expand Down Expand Up @@ -395,6 +398,9 @@ expression: "(&event.value().unwrap().spans, metrics)"
app_start_type: String(
"cold",
),
ai_total_tokens_used: ~,
ai_prompt_tokens_used: ~,
ai_completion_tokens_used: ~,
browser_name: ~,
code_filepath: ~,
code_lineno: ~,
Expand Down Expand Up @@ -491,6 +497,9 @@ expression: "(&event.value().unwrap().spans, metrics)"
app_start_type: String(
"cold",
),
ai_total_tokens_used: ~,
ai_prompt_tokens_used: ~,
ai_completion_tokens_used: ~,
browser_name: ~,
code_filepath: ~,
code_lineno: ~,
Expand Down Expand Up @@ -633,6 +642,9 @@ expression: "(&event.value().unwrap().spans, metrics)"
profile_id: ~,
data: SpanData {
app_start_type: ~,
ai_total_tokens_used: ~,
ai_prompt_tokens_used: ~,
ai_completion_tokens_used: ~,
browser_name: ~,
code_filepath: ~,
code_lineno: ~,
Expand Down Expand Up @@ -729,6 +741,9 @@ expression: "(&event.value().unwrap().spans, metrics)"
profile_id: ~,
data: SpanData {
app_start_type: ~,
ai_total_tokens_used: ~,
ai_prompt_tokens_used: ~,
ai_completion_tokens_used: ~,
browser_name: ~,
code_filepath: ~,
code_lineno: ~,
Expand Down

0 comments on commit f54236c

Please sign in to comment.