dd-trace-py
dd-trace-py copied to clipboard
ci: enable exception replay in Django profile job
We enable Exception Replay in the Django profile workflow and create a scenario that leads to an exception to profile the relevant code paths.
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
CODEOWNERS have been resolved as:
scripts/profiles/django-simple/k6-exc.js @DataDog/apm-core-python
.github/workflows/django-overhead-profile.yml @DataDog/python-guild @DataDog/apm-core-python
scripts/profiles/django-simple/k6-load.js @DataDog/apm-core-python
scripts/profiles/django-simple/run.sh @DataDog/apm-core-python
scripts/profiles/django-simple/setup.sh @DataDog/apm-core-python
Benchmarks
Benchmark execution time: 2024-11-25 13:01:28
Comparing candidate commit 70d43e917aca0eca07c56a04bddbb9515a139876 in PR branch ci/django-profile-enable-exception-replay with baseline commit 1315715730edf3001820a3ed9ccc180b5820702b in branch main.
Found 0 performance improvements and 0 performance regressions! Performance is the same for 388 metrics, 2 unstable metrics.