How can I add an "error handling" tool like "Sentry" in Jitsi meet running on docker?

How can I add an error handling tool like Sentry in Jitsi meet running on docker?

looks like not enough person is using Sentry in Jitsi, I also asked about Sentry integration, but no luck

Hello,

Any info on sentry integration? I’ve been trying to add but didn’t get the expected result? Is sentry not supported?

For Jitsi meet I have added in index.web.js inside react folder.

import * as Sentry from "@sentry/react";
import { BrowserTracing } from "@sentry/tracing";

Sentry.init({
  dsn: "your_sentry_project_dsn_key",
  integrations: [new BrowserTracing()],

  // We recommend adjusting this value in production, or using tracesSampler
  // for finer control
  tracesSampleRate: 1.0,
});

you can check here: Sentry for React project

Doing this, Sentry logs can be captured in dashboard for client browsers.
But for jicofo or jvb I haven’t found doc to initialize Sentry with project dsn

Ok. Thank you for your response. :slight_smile:

Hi again @mustahsin,
Have you tried adding sentry to the react-native side?

I haven’t add Sentry in react-native. Though I think same can be done here as well.

Inside index.native.js you can import Sentry and initialize.

npm install --save @sentry/react-native

import * as Sentry from "@sentry/react-native";

Sentry.init({
  dsn: "sentry_react_native_project_dsn_key",
});

Thanks for your answer. Yes I added sentry like this but I couldn’t catch the error as expected. So I’m looking to see if anyone can integrate it into jitsi-meet react-native app.

I see. as I haven’t experience in react native side and also not getting useful instruction for this, you have to try and dig deep I guess.

senrty react native as per doc,

index.android.js
index.ios.js
should also be configured

Yes thank you for your help :pray: I will go over it again.

You are welcome.