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.

Gitignore env and Add redux dev tools

“himanshu”546af6e46b76
diff --git a/.gitignore b/.gitignore
index dd384a51ff..06628edacd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,6 +19,7 @@ frontend/.yarnclean
frontend/npm-debug.log*
frontend/yarn-debug.log*
frontend/yarn-error.log*
+frontend/src/constants/env.ts
.idea
@@ -26,4 +27,5 @@ frontend/yarn-error.log*
*.tgz
**/build
**/storage
-**/locust-scripts/__pycache__/
\ No newline at end of file
+**/locust-scripts/__pycache__/
+
diff --git a/frontend/src/index.tsx b/frontend/src/index.tsx
index b795a595b4..77af094bec 100644
--- a/frontend/src/index.tsx
+++ b/frontend/src/index.tsx
@@ -1,7 +1,7 @@
import React from "react";
import ReactDOM from "react-dom";
import { Provider } from "react-redux";
-import { createStore, applyMiddleware } from "redux";
+import { createStore, applyMiddleware, compose } from "redux";
import { ThemeSwitcherProvider } from "react-css-theme-switcher";
import thunk from "redux-thunk";
// import { NavLink, BrowserRouter as Router, Route, Switch } from 'react-router-dom';
@@ -10,8 +10,9 @@ import AppWrapper from "./components/AppWrapper";
import "./assets/index.css";
import { reducers } from "./reducers";
// import Signup from './components/Signup';
-
-const store = createStore(reducers, applyMiddleware(thunk));
+// @ts-ignore
+const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
+const store = createStore(reducers, composeEnhancers(applyMiddleware(thunk)));
const themes = {
dark: `${process.env.PUBLIC_URL}/dark-theme.css`,