-
Notifications
You must be signed in to change notification settings - Fork 0
Crash reporting metrics implementation with Bugsnag #520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
66 commits
Select commit
Hold shift + click to select a range
297a1a7
working on error reporting metrics
MoumitaM 67a51f2
working on bugsnag integration
MoumitaM 67f20d5
Update metrics/error-report/index.js
MoumitaM ea3c448
Update metrics/error-report/index.js
MoumitaM 6cbebf2
Update metrics/error-report/index.js
MoumitaM 17b2a35
working on Bugsnag integration
MoumitaM 59d43f1
bugsnag module: releaseStage updated to production
MoumitaM 394e34e
working on bugsnag
MoumitaM 4ca1d06
Update metrics/error-report/index.js
MoumitaM 713fab6
Update utils/utils.js
MoumitaM cbbecb2
bugsnag integration
MoumitaM 5e74208
bugsnag integration
MoumitaM 09f8550
fix: load Bugsnag by default
saikumarrs 9bbe164
fix: immediately initialize Bugsnag client
saikumarrs 3ac577f
fix: remove unnecessary return statements
saikumarrs 33184c0
fix: bugsnag API key converted into a token to be replaced in CI
saikumarrs 305ea8f
SDK meta data updated and comment added
MoumitaM babb2ea
updated bs configuration at initialisation
MoumitaM c041459
Update analytics.js
MoumitaM d2b8f04
refactor: in-place text substitution in buildspec files
saikumarrs a181070
misc updates in bugsnag integration
MoumitaM b8d8312
Merge branch 'feat.crashReportingMetrics' of github.com:rudderlabs/ru…
MoumitaM 0bc5f1b
removed event type from error message and removed version from sdk me…
MoumitaM 6c3a8b5
code cleaning
MoumitaM 736a3f9
feat(ci): sourcemap files copied to S3
saikumarrs 75011bb
Merge branch 'feat.crashReportingMetrics' of https://github.com/rudde…
saikumarrs 964e383
Update analytics.js
MoumitaM 21f4c70
Update analytics.js
MoumitaM 3fa6c5d
Update analytics.js
MoumitaM d843ff5
Update analytics.js
MoumitaM 43d3494
Update utils/utils.js
MoumitaM 81cef53
Merge branch 'v1-staging' into feat.crashReportingMetrics
saikumarrs 5b42ea4
refactor: reimported get method from utils
saikumarrs cd15090
replaced notifyError method with handleError
MoumitaM aa51924
Merge branch 'v1-staging' of github.com:rudderlabs/rudder-sdk-js into…
MoumitaM 1318b6b
Bugsnag enhancements
MoumitaM 8db9859
Update metrics/error-report/Bugsnag.js
MoumitaM 012ce2e
Bugsnag refactoring
MoumitaM 4c40ede
code refactoring
MoumitaM 3b84e7a
fix(errors): refactored handleError method to block unwanted errors
saikumarrs f2c3f2f
Merge branch 'feat.crashReportingMetrics' of https://github.com/rudde…
saikumarrs 7737d8e
Added 'Element.prototype.dataset' polyfill
saikumarrs 707f0bc
Added 'loader' data attribute to script loader
saikumarrs 37f4594
chore(update): Added script data attribute in all integrations
saikumarrs 98cf8c3
fix: discard script errors not originating from SDK
saikumarrs 82f9b32
updated ad-blocker script check condition
saikumarrs 5e24dec
Discard all non-script loading errors
saikumarrs 71f4f6f
Removed error message filter
saikumarrs 93c7943
Removed unused variable
saikumarrs 4a0a614
Fixed syntax issue
saikumarrs 8a00882
fix: module type update
saikumarrs d14c815
fix: create new error object for script errors
saikumarrs e25e190
fix: setting event context
saikumarrs d31bfae
fix: used replacer function in JSON stringify
saikumarrs f4df49a
updated default initialisation behavior of bugsnag
MoumitaM 6a94da3
Merge branch 'feat.crashReportingMetrics' of github.com:rudderlabs/ru…
MoumitaM 167e727
updated code comment
MoumitaM 08ac2c3
Merge branch 'v1-staging' of github.com:rudderlabs/rudder-sdk-js into…
MoumitaM 7e9c23f
bugsnag config format modified
MoumitaM 3665b54
Update analytics.js
MoumitaM d9f9aa9
code refactoring
MoumitaM 04ab16c
Update utils/constants.js
MoumitaM e29cd62
code refactoring
MoumitaM 2b3357a
Merge branch 'v1-staging' into feat.crashReportingMetrics
MoumitaM 708be20
code refactoring
MoumitaM 04c08c8
Merge branch 'feat.crashReportingMetrics' of github.com:rudderlabs/ru…
MoumitaM File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,20 @@ | ||
version: 0.2 | ||
|
||
|
||
phases: | ||
install: | ||
runtime-versions: | ||
nodejs: 12 | ||
build: | ||
commands: | ||
- ls | ||
- npm install --unsafe-perm | ||
- npm run prodTest && npm test | ||
- npm run buildProdBrowser | ||
- sed 's|//# sourceMappingURL=rudder-analytics.min.js.map||' dist/rudder-analytics.min.js > dist/prod.js | ||
- mv dist/prod.js dist/rudder-analytics.min.js | ||
- aws s3 cp dist/rudder-analytics.min.js s3://$S3_BUCKET_NAME/rudder-analytics-staging.min.js --cache-control max-age=3600 --acl public-read | ||
- sed -i -e 's|rudder-analytics.min.js.map|rudder-analytics-staging.min.js.map|' -e 's|{{RS_BUGSNAG_API_KEY}}|'$RS_BUGSNAG_API_KEY'|' dist/rudder-analytics.min.js | ||
- aws s3 cp dist/rudder-analytics.min.js s3://$S3_BUCKET_NAME/v1/rudder-analytics-staging.min.js --cache-control max-age=3600 --acl public-read | ||
- aws cloudfront create-invalidation --distribution-id $CLOUDFRONT_DISTRIBUTION_ID --paths "/v1/rudder-analytics-staging.min.js" | ||
- aws cloudfront create-invalidation --distribution-id $CLOUDFRONT_DISTRIBUTION_ID --paths "/rudder-analytics-staging.min.js" | ||
- aws s3 cp dist/rudder-analytics.min.js.map s3://$S3_BUCKET_NAME/v1/rudder-analytics-staging.min.js.map --cache-control max-age=3600 --acl public-read | ||
- aws s3 cp s3://$S3_BUCKET_NAME/v1/rudder-analytics-staging.min.js s3://$S3_BUCKET_NAME/rudder-analytics-staging.min.js --cache-control max-age=3600 --acl public-read | ||
- aws s3 cp s3://$S3_BUCKET_NAME/v1/rudder-analytics-staging.min.js.map s3://$S3_BUCKET_NAME/rudder-analytics-staging.min.js.map --cache-control max-age=3600 --acl public-read | ||
- aws cloudfront create-invalidation --distribution-id $CLOUDFRONT_DISTRIBUTION_ID --paths "/v1/rudder-analytics-staging.min.js" "/v1/rudder-analytics-staging.min.js.map" "/rudder-analytics-staging.min.js" "/rudder-analytics-staging.min.js.map" | ||
artifacts: | ||
files: | ||
- "**/*" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.