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: strip starting and ending quotes from field value on copy to clipboard (#5831)
Yunus M266894b0f836
diff --git a/frontend/src/container/LogDetailedView/TableView/TableViewActions.tsx b/frontend/src/container/LogDetailedView/TableView/TableViewActions.tsxindex 63912ffa82..74b30bf6de 100644--- a/frontend/src/container/LogDetailedView/TableView/TableViewActions.tsx+++ b/frontend/src/container/LogDetailedView/TableView/TableViewActions.tsx@@ -67,7 +67,6 @@ export function TableViewActions();const [isOpen, setIsOpen] = useState<boolean>(false);- const textToCopy = fieldData.value;if (record.field === 'body') {const parsedBody = recursiveParseJSON(fieldData.value);@@ -89,6 +88,17 @@ export function TableViewActions(: { __html: '' };const fieldFilterKey = filterKeyForField(fieldData.field);+ let textToCopy = fieldData.value;++ // remove starting and ending quotes from the value+ try {+ textToCopy = textToCopy.replace(/^"|"$/g, '');+ } catch (error) {+ console.error(+ 'Failed to remove starting and ending quotes from the value',+ error,+ );+ }return (<div className={cx('value-field', isOpen ? 'open-popover' : '')}>