Scille / parsec-cloud

Open source Dropbox-like file sharing with full client encryption !
https://parsec.cloud
Other
269 stars 40 forks source link

Add Sentry support #6458

Closed mmmarcos closed 1 month ago

mmmarcos commented 6 months ago

This needs further investigation.

Context

The following alternatives were considered to implement Sentry support:

The approach recommended by Sentry is to set up multiple projects for finer granularity:

How Many Projects Should I Create?

You could theoretically put all your errors into a single project, as this isn't limited in sentry.io

However, setting up multiple projects to reflect your application with finer granularity helps makes errors more visible and actionable, which can have a big impact on your team's productivity.

Here are some points to consider:

  • If your application's source code is managed in multiple repositories, create a separate project for each repo.
  • If your app is made up of several micro-services, split them into projects accordingly.
  • If you have a monolithic codebase, set up separate projects for the backend and frontend.
  • Give each language its own project. For example, if your backend code contains NodeJS and Java components, separate those into two different projects.

Initial POCs

Some tests were made in the following PRs:

Current status

FirelightFlagboy commented 1 month ago

@mmmarcos I would suggest to not try sharing 1 sentry configuration between rust & js/electron.

I would recommend to have first 2 sentry's client: