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
chore: add comments
Nidhi Tandonfed23a6ab900
diff --git a/frontend/src/modules/Servicemap/ServiceMap.tsx b/frontend/src/modules/Servicemap/ServiceMap.tsxindex 257f505fc3..fe31b8d8fb 100644--- a/frontend/src/modules/Servicemap/ServiceMap.tsx+++ b/frontend/src/modules/Servicemap/ServiceMap.tsx@@ -64,6 +64,10 @@ const ServiceMap = (props: ServiceMapProps) => {} = props;useEffect(() => {+ /*+ Call the apis only when the route is loaded.+ Check this issue: https://github.com/SigNoz/signoz/issues/110+ */if (state.SERVICE_MAP.isLoaded) {getServiceMapItems(globalTime);getDetailedServiceMapItems(globalTime);diff --git a/frontend/src/modules/Traces/TraceCustomVisualizations.tsx b/frontend/src/modules/Traces/TraceCustomVisualizations.tsxindex 7b26ce4a29..baf3271c64 100644--- a/frontend/src/modules/Traces/TraceCustomVisualizations.tsx+++ b/frontend/src/modules/Traces/TraceCustomVisualizations.tsx@@ -113,6 +113,10 @@ const _TraceCustomVisualizations = (props: TraceCustomVisualizationsProps) => {maxTime: props.globalTime.maxTime + 15 * 60 * 1000000000,};+ /*+ Call the apis only when the route is loaded.+ Check this issue: https://github.com/SigNoz/signoz/issues/110+ */if (state.TRACES.isLoaded) {props.getFilteredTraceMetrics(request_string, plusMinus15);}diff --git a/frontend/src/modules/Traces/TraceFilter.tsx b/frontend/src/modules/Traces/TraceFilter.tsxindex 06e69f6fd0..82d679895d 100644--- a/frontend/src/modules/Traces/TraceFilter.tsx+++ b/frontend/src/modules/Traces/TraceFilter.tsx@@ -124,6 +124,10 @@ const _TraceFilter = (props: TraceFilterProps) => {"&tags=" +encodeURIComponent(JSON.stringify(props.traceFilters.tags));+ /*+ Call the apis only when the route is loaded.+ Check this issue: https://github.com/SigNoz/signoz/issues/110+ */if (state.TRACES.isLoaded) {props.fetchTraces(props.globalTime, request_string);}diff --git a/frontend/src/modules/Usage/UsageExplorer.tsx b/frontend/src/modules/Usage/UsageExplorer.tsxindex 1e1675e0db..d02cc8eebb 100644--- a/frontend/src/modules/Usage/UsageExplorer.tsx+++ b/frontend/src/modules/Usage/UsageExplorer.tsx@@ -74,6 +74,10 @@ const _UsageExplorer = (props: UsageExplorerProps) => {}, [selectedTime, selectedInterval, selectedService]);useEffect(() => {+ /*+ Call the apis only when the route is loaded.+ Check this issue: https://github.com/SigNoz/signoz/issues/110+ */if (state.USAGE_EXPLORER.isLoaded) {props.getServicesList(props.globalTime);}