-
Notifications
You must be signed in to change notification settings - Fork 93
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
feat(protocol): Add jvm
debug file type
#2002
Conversation
/// The number of milliseconds Sentry spent resolving sources for a java event. | ||
/// | ||
/// This metric is measured in Sentry and reported in the java processing task. | ||
#[metastructure(field = "ms.processing.jvmbased")] |
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.
Not sure, this is needed.
jvmbased
jvmbased
debug file type
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.
From Relay's point of view, this looks good to go! Please do get approval also from whoever else is involved in this initiative.
@@ -486,6 +508,8 @@ pub enum DebugImage { | |||
Wasm(Box<NativeDebugImage>), | |||
/// Source map debug image. | |||
SourceMap(Box<SourceMapDebugImage>), | |||
/// JVM based debug image. | |||
JvmBased(Box<JvmBasedDebugImage>), |
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.
I would rename JvmBased
to Jvm
everywhere, but that is just a personal preference.
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.
Yeah agreed, this also came up in another PR. Will rename it and update this 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. Please update the PR title to match the commit message format.
Co-authored-by: Iker Barriocanal <32816711+iker-barriocanal@users.noreply.github.com>
jvm
debug file typejvm
debug file type
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 (dont know where the new metric ms_processing_jvm is measurued, but I guess it is just good to have this in place)
To support Java Source Context we add a new debug file type called
jvm
. More info on it can be found in getsentry/sentry-java#633 (comment)