Add sentry and queries.

This commit is contained in:
Patrick Fic
2023-08-18 14:54:19 -07:00
parent ed006c0626
commit ca248f3890
15 changed files with 163 additions and 5 deletions

View File

@@ -9,6 +9,15 @@ import App from "./App/App";
import "./index.css";
import { persistor, store } from "./redux/store";
import * as Sentry from "@sentry/electron";
Sentry.init({
dsn: "https://9840e0f304124299e379d9347e12d2e6@o492140.ingest.sentry.io/4505728058523648",
integrations: [new Sentry.BrowserTracing()],
tracesSampleRate: 1.0,
// Set `tracePropagationTargets` to control for which URLs distributed tracing should be enabled
tracePropagationTargets: ["localhost", "https://db.rps.imex.online"],
});
//if (process.env.NODE_ENV === "production") LogRocket.init("imex/rps");
const container = document.getElementById("root");
const root = createRoot(container); // createRoot(container!) if you use TypeScript