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: the legend and value issue (#3789)
Rajat Dabade176d01544e83
diff --git a/frontend/src/lib/getChartData.ts b/frontend/src/lib/getChartData.tsindex 494dd76583..4bb8789ad4 100644--- a/frontend/src/lib/getChartData.ts+++ b/frontend/src/lib/getChartData.ts@@ -63,10 +63,6 @@ const getChartData = ({}),);- const allLabels = response- .map((e) => e.map((e) => e.label))- .reduce((a, b) => [...a, ...b], []);-const modifiedData = response.flat().sort((a, b) => {@@ -89,6 +85,8 @@ const getChartData = ({? modifiedData.slice(0, limit): modifiedData;+ const allLabels = modifiedData.map((e) => e.label);+const updatedDataSet = updatedSortedData.map((e, index) => {const datasetBaseConfig = {index,