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.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
fix : parsing issue is fixed in the table view (#2693)
Palash Guptac7f09354f726
diff --git a/frontend/src/container/LogDetailedView/TableView.tsx b/frontend/src/container/LogDetailedView/TableView.tsxindex eea61f2a32..ef30d1471d 100644--- a/frontend/src/container/LogDetailedView/TableView.tsx+++ b/frontend/src/container/LogDetailedView/TableView.tsx@@ -89,7 +89,7 @@ function TableView({ logData }: TableViewProps): JSX.Element | null {if (!isEmpty(parsedBody)) {return (<Editor- value={JSON.stringify(parsedBody, null, 2)}+ value={JSON.stringify(parsedBody, null, 2).replace(/\\n/g, '\n')}readOnlyheight="70vh"options={{diff --git a/frontend/src/container/LogDetailedView/utils.ts b/frontend/src/container/LogDetailedView/utils.tsindex 00a89c96d1..ca815e0986 100644--- a/frontend/src/container/LogDetailedView/utils.ts+++ b/frontend/src/container/LogDetailedView/utils.ts@@ -4,6 +4,15 @@ export const recursiveParseJSON = (obj: string): Record<string, unknown> => {if (typeof value === 'string') {return recursiveParseJSON(value);}+ if (typeof value === 'object') {+ Object.entries(value).forEach(([key, val]) => {+ if (typeof val === 'string') {+ value[key] = val.trim();+ } else if (typeof val === 'object') {+ value[key] = recursiveParseJSON(JSON.stringify(val));+ }+ });+ }return value;} catch (e) {return {};