Skip to content

Conversation

@armenzg
Copy link
Member

@armenzg armenzg commented Apr 4, 2025

Categorizing these frames will prevent deriving in-app stack trace rules for them.

A flaw with my system is that many Java packages can be forked, thus, the derivation system will categorize them as in-app.

@armenzg armenzg self-assigned this Apr 4, 2025
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Apr 4, 2025
Marking these frames as system will prevent deriving in-app stack trace rules for them.

Using `-app` is not enough to skip the derivation system.

*NOTE*: Some of the modules are still just marked with `-app` and they will be handled in a following PR in order to keep the diff to a minimum
family:native package:/system/** category=system
family:native package:/vendor/** category=system
module:dalvik.system.* category=system
module:com.android.* category=system
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved these to the block below.

package:/apex/com.android.*/lib*/** category=system


## java
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new packages included come from conversations with @lcian


## java
# Having a category prevents deriving in_app stack trace rules
# XXX: Adjust all -app lines in the next PR
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some of these lines have -app instead of a category. I will handle them in the following PR. I prioritized keeping the diff to a minimum, and in some cases, I saw hash changes that I wanted to investigate.

module:feign.* category=system
module:dalvik.system.* category=system
module:io.opentelemetry.* category=system
module:io.sentry.* -app -group
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some of the lines here come from the bottom of this file:
image

@armenzg armenzg marked this pull request as ready for review April 4, 2025 14:19
@armenzg armenzg requested a review from a team as a code owner April 4, 2025 14:19
@armenzg armenzg requested a review from lobsterkatie April 4, 2025 14:20
Copy link
Member

@lobsterkatie lobsterkatie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@armenzg armenzg merged commit cb602a0 into master Apr 8, 2025
46 checks passed
@armenzg armenzg deleted the system_frame/rules/armenzg branch April 8, 2025 11:28
andrewshie-sentry pushed a commit that referenced this pull request Apr 8, 2025
Categorizing these frames will prevent deriving in-app stack trace rules
for them.

A flaw with my system is that many Java packages can be forked, thus,
the derivation system will categorize them as in-app.
Christinarlong pushed a commit that referenced this pull request Apr 10, 2025
Categorizing these frames will prevent deriving in-app stack trace rules
for them.

A flaw with my system is that many Java packages can be forked, thus,
the derivation system will categorize them as in-app.
@github-actions github-actions bot locked and limited conversation to collaborators Apr 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants