We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 923e3bb commit 253b5d1Copy full SHA for 253b5d1
app-server/src/traces/realtime.rs
@@ -26,7 +26,7 @@ struct RealtimeTrace {
26
total_cost: f64,
27
metadata: Option<Value>,
28
top_span_id: Option<Uuid>,
29
- trace_type: &'static str,
+ trace_type: String,
30
top_span_name: Option<String>,
31
top_span_type: Option<i16>,
32
status: Option<String>,
@@ -134,7 +134,7 @@ impl RealtimeTrace {
134
total_cost: trace.cost(),
135
metadata: trace.metadata().cloned(),
136
top_span_id: trace.top_span_id(),
137
- trace_type: "DEFAULT", // Simplified for now
+ trace_type: trace.trace_type().to_string(),
138
top_span_name: trace.top_span_name(),
139
top_span_type: trace.top_span_type(),
140
status: trace.status(),
0 commit comments