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: chart y-axis values not showing for values < 1
Pranshu Chittoradbe9f3a034f3
diff --git a/frontend/src/components/Graph/index.tsx b/frontend/src/components/Graph/index.tsxindex e51ff21616..0bd22962f6 100644--- a/frontend/src/components/Graph/index.tsx+++ b/frontend/src/components/Graph/index.tsx@@ -160,10 +160,7 @@ function Graph({ticks: {// Include a dollar sign in the tickscallback(value) {- return getYAxisFormattedValue(- parseInt(value.toString(), 10),- yAxisUnit,- );+ return getYAxisFormattedValue(parseFloat(value.toString()), yAxisUnit);},},},diff --git a/frontend/src/components/Graph/yAxisConfig.ts b/frontend/src/components/Graph/yAxisConfig.tsindex 5434eeceb3..2a0c4766a1 100644--- a/frontend/src/components/Graph/yAxisConfig.ts+++ b/frontend/src/components/Graph/yAxisConfig.ts@@ -6,7 +6,7 @@ export const getYAxisFormattedValue = (): string => {try {return formattedValueToString(- getValueFormat(format)(value, undefined, undefined, undefined),+ getValueFormat(format)(value, 1, undefined, undefined),);} catch (error) {console.error(error);