Skip to content

Commit

Permalink
v1.1 changes: crash reporting metrics integration (#537)
Browse files Browse the repository at this point in the history
* working on error reporting metrics

* working on bugsnag integration

* Update metrics/error-report/index.js

Co-authored-by: Sai Kumar Battinoju <88789928+saikumarrs@users.noreply.github.com>

* Update metrics/error-report/index.js

Co-authored-by: Sai Kumar Battinoju <88789928+saikumarrs@users.noreply.github.com>

* Update metrics/error-report/index.js

Co-authored-by: Sai Kumar Battinoju <88789928+saikumarrs@users.noreply.github.com>

* working on Bugsnag integration

* bugsnag module: releaseStage updated to production

* working on bugsnag

* Update metrics/error-report/index.js

Co-authored-by: Sai Kumar Battinoju <88789928+saikumarrs@users.noreply.github.com>

* Update utils/utils.js

Co-authored-by: Sai Kumar Battinoju <88789928+saikumarrs@users.noreply.github.com>

* bugsnag integration

* bugsnag integration

* fix: load Bugsnag by default

* fix: immediately initialize Bugsnag client

* fix: remove unnecessary return statements

* fix: bugsnag API key converted into a token to be replaced in CI

* SDK meta data updated and comment added

* updated bs configuration at initialisation

* Update analytics.js

Co-authored-by: Sai Kumar Battinoju <88789928+saikumarrs@users.noreply.github.com>

* refactor: in-place text substitution in buildspec files

* misc updates in bugsnag integration

* removed event type from error message and removed version from sdk meta data

* code cleaning

* feat(ci): sourcemap files copied to S3

* Update analytics.js

Co-authored-by: Sai Kumar Battinoju <88789928+saikumarrs@users.noreply.github.com>

* Update analytics.js

Co-authored-by: Sai Kumar Battinoju <88789928+saikumarrs@users.noreply.github.com>

* Update analytics.js

Co-authored-by: Sai Kumar Battinoju <88789928+saikumarrs@users.noreply.github.com>

* Update analytics.js

Co-authored-by: Sai Kumar Battinoju <88789928+saikumarrs@users.noreply.github.com>

* Update utils/utils.js

Co-authored-by: Sai Kumar Battinoju <88789928+saikumarrs@users.noreply.github.com>

* refactor: reimported get method from utils

* replaced notifyError method with handleError

* v1.1 specific updates added

* Update metrics/error-report/Bugsnag.js

Co-authored-by: Sai Kumar Battinoju <88789928+saikumarrs@users.noreply.github.com>

* added support for unminified intg SDKs

* Bugsnag enhancements

* Update metrics/error-report/Bugsnag.js

Co-authored-by: Sai Kumar Battinoju <88789928+saikumarrs@users.noreply.github.com>

* Bugsnag refactoring

* code refactoring

* fix(errors): refactored handleError method to block unwanted errors

* Added 'Element.prototype.dataset' polyfill

* Added 'loader' data attribute to script loader

* chore(update): Added script data attribute in all integrations

* fix: discard script errors not originating from SDK

* updated ad-blocker script check condition

* Discard all non-script loading errors

* Removed error message filter

* Removed unused variable

* Fixed syntax issue

* Generating source maps for integration SDKs

* Added 'PROD_DEBUG' flag to all the integration script commands

* fix: module type update

* fix: module type update

* fix: create new error object for script errors

* fix: setting event context

* fix: used replacer function in JSON stringify

* updated default initialisation behavior of bugsnag

* updated code comment

* bugsnag config format modified

* Update analytics.js

Co-authored-by: Sai Kumar Battinoju <88789928+saikumarrs@users.noreply.github.com>

* code refactoring

* size limit updated and added command for updating sourcemap name in staging intgs

* CHANGELOG changes reverted

* CHANGELOG changes reverted

* Update utils/constants.js

Co-authored-by: Sai Kumar Battinoju <88789928+saikumarrs@users.noreply.github.com>

* code refactoring

* fix: remove duplicate declarations

* fix: increase integrations size limit

Co-authored-by: Sai Kumar Battinoju <88789928+saikumarrs@users.noreply.github.com>
Co-authored-by: saikumarrs <saibattinoju@rudderstack.com>
  • Loading branch information
3 people authored Jun 21, 2022
1 parent d7e5e71 commit ae88b6a
Show file tree
Hide file tree
Showing 40 changed files with 486 additions and 361 deletions.
18 changes: 9 additions & 9 deletions .size-limit.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@
*/
module.exports = [
{
name: "Core - CDN",
path: "dist/rudder-analytics.min.js",
name: 'Core - CDN',
path: 'dist/rudder-analytics.min.js',
gzip: true,
limit: "38 kB",
limit: '38 kB',
},
{
name: "All Integrations - CDN",
path: "dist/integrations/*.min.js",
name: 'All Integrations - CDN',
path: 'dist/integrations/*.min.js',
gzip: true,
limit: "625 kB",
limit: "650 kB",
},
{
name: "Core - NPM",
path: "dist/rudder-sdk-js/index.js",
name: 'Core - NPM',
path: 'dist/rudder-sdk-js/index.js',
gzip: true,
limit: "38 kB",
limit: '38 kB',
},
];
Loading

0 comments on commit ae88b6a

Please sign in to comment.