Skip to content
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

Add support for ignoring single method calls in the trace #75

Merged
merged 2 commits into from
Sep 5, 2024

Conversation

alpaca-tc
Copy link
Owner

Extended ignored_method_ids.

Previously, all call stacks after the specified method was ignored.
After this PR changes, you can choose to exclude only the call stack of that method from tracing instead of full call stack.

The way options are specified has changed.

# before
ignored_method_ids: ['A.class_call']

# after
ignored_method_ids: {
  'A.class_call' => :full, # same original behavior
  'A.bar' => :single # new behavior
}

@alpaca-tc alpaca-tc merged commit fc326d4 into main Sep 5, 2024
6 checks passed
@alpaca-tc alpaca-tc deleted the improve-ignore branch September 5, 2024 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant