-
-
Notifications
You must be signed in to change notification settings - Fork 325
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(core): Bump sentry-javascript to version 8 #3836
Conversation
|
Android (legacy) Performance metrics 馃殌
|
src/js/profiling/integration.ts
Outdated
@@ -172,16 +195,16 @@ export const hermesProfilingIntegration: IntegrationFn = () => { | |||
}; | |||
|
|||
const _createProfileEventFor = (profiledTransaction: Event): ProfileEvent | null => { | |||
const profile_id = profiledTransaction?.contexts?.['profile']?.['profile_id']; | |||
const profile_id = profiledTransaction?.contexts?.['trace']?.['data']?.['profile_id']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we refer to profiledTransaction
as profiledEvent
or profiledSpan
since transactions are no longer used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, make sense, I agree, but let's do it in another PR, to avoid adding more change to this, it's already a large PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 馃殌
Android (new) Performance metrics 馃殌
|
this._initNativeSdk(); | ||
super.init(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Q: Was it previously wrong and you fix it now or is it a change that was required for V8?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The init
was added for V8, the native init needs to happen before the JS init, to avoid the native not available error log in Expo.
Before v8 the native init happened in constructor, which doesn't make sense with dedicate init method.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a minor question but other than that LGTM!
馃摙 Type of change
馃摐 Description
sentry-javascript
to version 8聽#3736馃挌 How did you test it?
馃摑 Checklist
sendDefaultPII
is enabled馃敭 Next steps
#skip-changelog