Skip to content

Commit 253b5d1

Browse files
authored
fix realtime string (#998)
1 parent 923e3bb commit 253b5d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app-server/src/traces/realtime.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ struct RealtimeTrace {
2626
total_cost: f64,
2727
metadata: Option<Value>,
2828
top_span_id: Option<Uuid>,
29-
trace_type: &'static str,
29+
trace_type: String,
3030
top_span_name: Option<String>,
3131
top_span_type: Option<i16>,
3232
status: Option<String>,
@@ -134,7 +134,7 @@ impl RealtimeTrace {
134134
total_cost: trace.cost(),
135135
metadata: trace.metadata().cloned(),
136136
top_span_id: trace.top_span_id(),
137-
trace_type: "DEFAULT", // Simplified for now
137+
trace_type: trace.trace_type().to_string(),
138138
top_span_name: trace.top_span_name(),
139139
top_span_type: trace.top_span_type(),
140140
status: trace.status(),

0 commit comments

Comments
 (0)