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: number attributes not showing up in raw view (#4541)
Vikrant Gupta0dffd8628739
diff --git a/frontend/src/components/Logs/RawLogView/index.tsx b/frontend/src/components/Logs/RawLogView/index.tsxindex 7aa00f3611..94c9dbe1bb 100644--- a/frontend/src/components/Logs/RawLogView/index.tsx+++ b/frontend/src/components/Logs/RawLogView/index.tsx@@ -12,7 +12,7 @@ import { useCopyLogLink } from 'hooks/logs/useCopyLogLink';// hooksimport { useIsDarkMode } from 'hooks/useDarkMode';import { FlatLogData } from 'lib/logs/flatLogData';-import { isEmpty, isUndefined } from 'lodash-es';+import { isEmpty, isNumber, isUndefined } from 'lodash-es';import {KeyboardEvent,MouseEvent,@@ -73,7 +73,14 @@ function RawLogView({const attributesValues = updatedSelecedFields.map((field) => flattenLogData[field.name])- .filter((attribute) => !isUndefined(attribute) && !isEmpty(attribute));+ .filter((attribute) => {+ // loadash isEmpty doesnot work with numbers+ if (isNumber(attribute)) {+ return true;+ }++ return !isUndefined(attribute) && !isEmpty(attribute);+ });let attributesText = attributesValues.join(' | ');