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
feat(logs): pretty-print JSON attribute values when copying to clipboard (#10778)
Liapis Nikolaos10805539056e
diff --git a/frontend/src/container/LogDetailedView/TableView/TableViewActions.tsx b/frontend/src/container/LogDetailedView/TableView/TableViewActions.tsxindex 98dac63682..5d277ac7d6 100644--- a/frontend/src/container/LogDetailedView/TableView/TableViewActions.tsx+++ b/frontend/src/container/LogDetailedView/TableView/TableViewActions.tsx@@ -284,6 +284,15 @@ export default function TableViewActions(error,);}+ // If the value is valid JSON (object or array), pretty-print it for copying+ try {+ const parsed = JSON.parse(text);+ if (typeof parsed === 'object' && parsed !== null) {+ return JSON.stringify(parsed, null, 2);+ }+ } catch {+ // not JSON, return as-is+ }return text;}, [fieldData.value]);