Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

fix: the json parsing issue (#3739)

Rajat Dabade9a433891f29f
diff --git a/frontend/src/container/LogDetailedView/TableView.tsx b/frontend/src/container/LogDetailedView/TableView.tsx
index 17446b0118..9237136349 100644
--- a/frontend/src/container/LogDetailedView/TableView.tsx
+++ b/frontend/src/container/LogDetailedView/TableView.tsx
@@ -63,7 +63,7 @@ function TableView({
.map((key) => ({
key,
field: key,
- value: removeEscapeCharacters(JSON.stringify(flattenLogData[key])),
+ value: JSON.stringify(flattenLogData[key]),
}));
const onTraceHandler = (record: DataType) => (): void => {
@@ -182,7 +182,7 @@ function TableView({
return (
<CopyClipboardHOC textToCopy={textToCopy}>
- <span style={{ color: orange[6] }}>{field}</span>
+ <span style={{ color: orange[6] }}>{removeEscapeCharacters(field)}</span>
</CopyClipboardHOC>
);
},