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: handle body json for default view (#11443)
Tushar Vats09f4ba33c9cb
diff --git a/frontend/src/components/Logs/ListLogView/index.tsx b/frontend/src/components/Logs/ListLogView/index.tsxindex 9c35d24006..c3575f3057 100644--- a/frontend/src/components/Logs/ListLogView/index.tsx+++ b/frontend/src/components/Logs/ListLogView/index.tsx@@ -5,7 +5,10 @@ import cx from 'classnames';import { VIEW_TYPES } from 'components/LogDetail/constants';import { DATE_TIME_FORMATS } from 'constants/dateTimeFormats';import { ChangeViewFunctionType } from 'container/ExplorerOptions/types';-import { getSanitizedLogBody } from 'container/LogDetailedView/utils';+import {+ getBodyDisplayString,+ getSanitizedLogBody,+} from 'container/LogDetailedView/utils';import { FontSize } from 'container/OptionsMenu/types';import { useCopyLogLink } from 'hooks/logs/useCopyLogLink';import { useIsDarkMode } from 'hooks/useDarkMode';@@ -196,7 +199,7 @@ function ListLogView({{updatedSelecedFields.some((field) => field.name === 'body') && (<LogGeneralFieldfieldKey="Log"- fieldValue={flattenLogData.body}+ fieldValue={getBodyDisplayString(logData.body)}linesPerRow={linesPerRow}fontSize={fontSize}/>