mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 06:49:00 +08:00
fix: trace event is now not decoding the events (#1766)
Co-authored-by: Pranay Prateek <pranay@signoz.io>
This commit is contained in:
parent
67c0c9032f
commit
ce072bdc3f
@ -77,12 +77,7 @@ export const spanToTreeUtil = (inputSpanList: Span[]): ITraceForest => {
|
||||
serviceName: span[3],
|
||||
hasError: !!span[11],
|
||||
serviceColour: '',
|
||||
event: span[10].map((e) => {
|
||||
return (
|
||||
JSON.parse(decodeURIComponent((e as never) || ('{}' as never))) ||
|
||||
({} as Record<string, unknown>)
|
||||
);
|
||||
}),
|
||||
event: span[10].map((e) => JSON.parse(e || '{}') || {}),
|
||||
references: spanReferences,
|
||||
};
|
||||
spanMap[span[1]] = spanObject;
|
||||
|
Loading…
x
Reference in New Issue
Block a user