Getting Started - Docs https://docs.sentry.io/error-reporting/quickstart/?platform=browsernpm
ts
Sentry.init({
dsn:
"https://....ingest.sentry.io/...",
});
Sentry.captureMessage("Something went wrong");
js
Sentry.configureScope(function(scope) {
scope.setExtra("character_name", "Mighty Fighter");
});
Be aware of maximum payload size - There are times, when you may want to send the whole application state as extra data. This is not recommended as application state can be very large and easily exceed the 200kB maximum that Sentry has on individual event payloads. When this happens, you’ll get an HTTP Error 413 Payload Too Large message as the server response or (when keepalive: true is set as fetch parameter), the request will stay in the pending state forever (eg. in Chrome).
The mouse move is sending a lot of errors due to an embargo in the mouse down process. I wonder if it's possible to stop sending so many in a short period of time...
This page is auto-translated from /nishio/Sentry using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I'm very happy to spread my thought to non-Japanese readers. sentry Sentinel
This page is auto-translated from /nishio/番兵 using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I'm very happy to spread my thought to non-Japanese readers.