Skip to content

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.

Merge branch 'main' into fix/suspense-loader

Ankit Nayan10bf545c65ce
diff --cc frontend/src/modules/AppWrapper.tsx
index 26741a2f9b,8c9c50d2e9..79f69ce810
--- a/frontend/src/modules/AppWrapper.tsx
+++ b/frontend/src/modules/AppWrapper.tsx
@@@ -33,40 -33,34 +33,41 @@@ const App = () =>
<Switch>
<RouteProvider>
<BaseLayout>
- <Route path={ROUTES.SIGN_UP} exact component={Signup} />
- <Route path={ROUTES.APPLICATION} exact component={ServicesTable} />
- <Route path={ROUTES.SERVICE_METRICS} exact component={ServiceMetrics} />
- <Route path={ROUTES.SERVICE_MAP} exact component={ServiceMap} />
- <Route path={ROUTES.TRACES} exact component={TraceDetail} />
- <Route path={ROUTES.TRACE_GRAPH} exact component={TraceGraph} />
- <Route path={ROUTES.SETTINGS} exact component={SettingsPage} />
- <Route
- path={ROUTES.INSTRUMENTATION}
- exact
- component={IntstrumentationPage}
- />
- <Route
- path={ROUTES.USAGE_EXPLORER}
- exact
- component={UsageExplorer}
- />
- <Route
- path="/"
- exact
- render={() => {
- return localStorage.getItem(IS_LOGGED_IN) === "yes" ? (
- <Redirect to={ROUTES.APPLICATION} />
- ) : (
- <Redirect to={ROUTES.SIGN_UP} />
- );
- }}
- />
+ <Suspense fallback={<Spin size="large" />}>
+ <Route path={ROUTES.SIGN_UP} exact component={Signup} />
+ <Route path={ROUTES.APPLICATION} exact component={ServicesTable} />
+ <Route
+ path={ROUTES.SERVICE_METRICS}
+ exact
+ component={ServiceMetrics}
+ />
+ <Route path={ROUTES.SERVICE_MAP} exact component={ServiceMap} />
+ <Route path={ROUTES.TRACES} exact component={TraceDetail} />
+ <Route path={ROUTES.TRACE_GRAPH} exact component={TraceGraph} />
+ <Route path={ROUTES.SETTINGS} exact component={SettingsPage} />
+ <Route
+ path={ROUTES.INSTRUMENTATION}
+ exact
+ component={IntstrumentationPage}
+ />
+ <Route
+ path={ROUTES.USAGE_EXPLORER}
+ exactexact
+ component={UsageExplorer}
+ />
+ <Route
+ path="/"
+ exact
+ render={() => {
+ return localStorage.getItem(IS_LOGGED_IN) === "yes" ? (
+ <Redirect to={ROUTES.APPLICATION} />
+ ) : (
+ <Redirect to={ROUTES.SIGN_UP} />
+ );
+ }}
+ />
+ </Suspense>
++
</BaseLayout>
</RouteProvider>
</Switch>