karmada-io / dashboard

Web UI for Karmada
Apache License 2.0
49 stars 43 forks source link

Introduce sentry #122

Open warjiang opened 2 months ago

warjiang commented 2 months ago

What would you like to be added: Introduce sentry for solving user web-ui problem.

Why is this needed: Sentry is very useful for collecting errors、 reproduce problem especially for web.

RainbowMango commented 2 months ago

This sentry?

warjiang commented 2 months ago

Yes, here is the sentry for open-source: https://sentry.io/for/open-source/

warjiang commented 2 months ago

The user reported the error stacktrace is hard to identify the problem, sentry will help us to parse the error stacktrace according to corresponded sourcemap

warjiang commented 2 months ago

Maybe we need extra config for whether to enable sentry, if users concered about the security problem, they can just disable the switch for sentry