Added support for Sentry events from JavaScript SDKs #73
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR introduces support for Sentry events that originate from JavaScript SDKs. With this enhancement, developers can easily send events straight from their JavaScript applications to Buggregator, making it even more versatile and comprehensive in capturing application errors.
Highlights:
Direct integration using Sentry's JavaScript SDK.
Just set it up in your app like this:
Alternate Configuration using Buggregator's Loader Script.
Add this script to your website:
When you include the script in your website, the part
1.js
represents the project ID. You can replace it with any project ID you like. So if your project ID was something unique likebdea41c41c273f86a4f1b0dd8
, the link becomes:https://127.0.0.1:8082/api/sentry/bdea41c41c273f86a4f1b0dd8.js
For this method, remember to configure the
SENTRY_DSN_HOST
environment variable in the docker container as shown:SENTRY_DSN_HOST
is an essential setting used by Buggregator to generate the correct address inside thescript
that your JavaScript app will use to send error reports.Benefits
Your feedback and suggestions are highly welcomed. Let's make debugging JavaScript apps even more efficient with Buggregator!