Tempo: Fix [object Object] shown as an Event message in Trace view (#73473)

Remove the wrapper json value
This commit is contained in:
Andrej Ocenas
2023-08-18 14:26:35 +02:00
committed by GitHub
parent dd21584961
commit 3aae7b089e
2 changed files with 25 additions and 3 deletions
+1 -1
View File
@@ -263,7 +263,7 @@ func spanEventsToLogs(events ptrace.SpanEventSlice) []*TraceLog {
if event.Name() != "" {
fields = append(fields, &KeyValue{
Key: TagMessage,
Value: attribute.StringValue(event.Name()),
Value: event.Name(),
})
}
event.Attributes().Range(func(key string, attr pcommon.Value) bool {