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

chore(er): max frame setting #11851

Merged
merged 5 commits into from
Jan 24, 2025
Merged

chore(er): max frame setting #11851

merged 5 commits into from
Jan 24, 2025

Conversation

P403n1x87
Copy link
Contributor

@P403n1x87 P403n1x87 commented Jan 3, 2025

We add the setting option to specifiy the maximum number of frames to capture while collecting exception replay data. By default this is 8.

Checklist

  • PR author has checked that all the criteria below are met
  • The PR description includes an overview of the change
  • The PR description articulates the motivation for the change
  • The change includes tests OR the PR description describes a testing strategy
  • The PR description notes risks associated with the change, if any
  • Newly-added code is easy to change
  • The change follows the library release note guidelines
  • The change includes or references documentation updates if necessary
  • Backport labels are set (if applicable)

Reviewer Checklist

  • Reviewer has checked that all the criteria below are met
  • Title is accurate
  • All changes are related to the pull request's stated goal
  • Avoids breaking API changes
  • Testing strategy adequately addresses listed risks
  • Newly-added code is easy to change
  • Release note makes sense to a user of the library
  • If necessary, author has acknowledged and discussed the performance implications of this PR as reported in the benchmarks PR comment
  • Backport labels are set in a manner that is consistent with the release branch maintenance policy

@P403n1x87 P403n1x87 added changelog/no-changelog A changelog entry is not required for this PR. Dynamic Instrumentation Dynamic Instrumentation/Live Debugger labels Jan 3, 2025
@P403n1x87 P403n1x87 self-assigned this Jan 3, 2025
@P403n1x87 P403n1x87 requested review from a team as code owners January 3, 2025 11:47
@P403n1x87 P403n1x87 requested a review from erikayasuda January 3, 2025 11:47
Copy link
Contributor

github-actions bot commented Jan 3, 2025

CODEOWNERS have been resolved as:

ddtrace/debugging/_exception/replay.py                                  @DataDog/debugger-python
ddtrace/settings/exception_replay.py                                    @DataDog/apm-core-python
tests/telemetry/test_writer.py                                          @DataDog/apm-python

@pr-commenter
Copy link

pr-commenter bot commented Jan 3, 2025

Benchmarks

Benchmark execution time: 2025-01-23 16:12:04

Comparing candidate commit 1330734 in PR branch chore/er-max-frames with baseline commit ff41c13 in branch main.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 394 metrics, 2 unstable metrics.

We add the setting option to specifiy the maximum number of frames to
capture while collecting exception replay data. By default this is
infinite.
@P403n1x87 P403n1x87 force-pushed the chore/er-max-frames branch from e5e0419 to 895fe41 Compare January 6, 2025 09:38
Copy link
Collaborator

@emmettbutler emmettbutler left a comment

Choose a reason for hiding this comment

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

This might benefit from a release note, not sure

@P403n1x87 P403n1x87 changed the title chore: exception replay max frame setting chore(er): max frame setting Jan 8, 2025
@P403n1x87 P403n1x87 enabled auto-merge (squash) January 9, 2025 10:19
@P403n1x87 P403n1x87 force-pushed the chore/er-max-frames branch from 020ef42 to 53a3ae1 Compare January 9, 2025 11:15
@P403n1x87 P403n1x87 requested a review from a team as a code owner January 22, 2025 11:40
@P403n1x87 P403n1x87 requested a review from sanchda January 22, 2025 11:40
@P403n1x87 P403n1x87 merged commit bb68a4f into main Jan 24, 2025
164 checks passed
@P403n1x87 P403n1x87 deleted the chore/er-max-frames branch January 24, 2025 10:10
ZStriker19 pushed a commit that referenced this pull request Jan 30, 2025
We add the setting option to specifiy the maximum number of frames to
capture while collecting exception replay data. By default this is
infinite.

## Checklist
- [x] PR author has checked that all the criteria below are met
- The PR description includes an overview of the change
- The PR description articulates the motivation for the change
- The change includes tests OR the PR description describes a testing
strategy
- The PR description notes risks associated with the change, if any
- Newly-added code is easy to change
- The change follows the [library release note
guidelines](https://ddtrace.readthedocs.io/en/stable/releasenotes.html)
- The change includes or references documentation updates if necessary
- Backport labels are set (if
[applicable](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting))

## Reviewer Checklist
- [ ] Reviewer has checked that all the criteria below are met 
- Title is accurate
- All changes are related to the pull request's stated goal
- Avoids breaking
[API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces)
changes
- Testing strategy adequately addresses listed risks
- Newly-added code is easy to change
- Release note makes sense to a user of the library
- If necessary, author has acknowledged and discussed the performance
implications of this PR as reported in the benchmarks PR comment
- Backport labels are set in a manner that is consistent with the
[release branch maintenance
policy](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog/no-changelog A changelog entry is not required for this PR. Dynamic Instrumentation Dynamic Instrumentation/Live Debugger
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants