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: graph flickering issue on trace page (#2120)
Chintan Sudania654baaa5bec
diff --git a/frontend/src/components/Graph/Plugin/Legend.ts b/frontend/src/components/Graph/Plugin/Legend.tsindex ec4d3f1d55..787933f442 100644--- a/frontend/src/components/Graph/Plugin/Legend.ts+++ b/frontend/src/components/Graph/Plugin/Legend.ts@@ -59,7 +59,7 @@ export const legend = (id: string, isLonger: boolean): Plugin<ChartType> => ({li.style.cursor = 'pointer';li.style.display = 'flex';li.style.marginLeft = '10px';- li.style.marginTop = '5px';+ // li.style.marginTop = '5px';li.onclick = (): void => {// eslint-disable-next-line @typescript-eslint/ban-ts-comment@@ -83,9 +83,9 @@ export const legend = (id: string, isLonger: boolean): Plugin<ChartType> => ({boxSpan.style.borderColor = `${item?.strokeStyle}`;boxSpan.style.borderWidth = `${item.lineWidth}px`;boxSpan.style.display = 'inline-block';- boxSpan.style.minHeight = '20px';- boxSpan.style.marginRight = '10px';- boxSpan.style.minWidth = '20px';+ boxSpan.style.minHeight = '0.75rem';+ boxSpan.style.marginRight = '0.5rem';+ boxSpan.style.minWidth = '0.75rem';boxSpan.style.borderRadius = '50%';if (item.text) {diff --git a/frontend/src/components/Graph/styles.ts b/frontend/src/components/Graph/styles.tsindex 89b220150e..2cbe302815 100644--- a/frontend/src/components/Graph/styles.ts+++ b/frontend/src/components/Graph/styles.ts@@ -2,7 +2,7 @@ import { themeColors } from 'constants/theme';import styled from 'styled-components';export const LegendsContainer = styled.div`- height: 15%;+ height: 10%;* {::-webkit-scrollbar {