chore(propagation): only call extract once per request for flask and django #37694
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: flask-overhead-profile | |
on: | |
push: | |
branches: | |
- main | |
- 'mq-working-branch**' | |
pull_request: | |
paths: | |
- 'ddtrace/**' | |
- 'scripts/profiles/flask-simple/**' | |
- '.github/workflows/flask-overhead-profile.yml' | |
jobs: | |
flask-overhead-profile: | |
runs-on: ubuntu-latest | |
env: | |
PREFIX: ${{ github.workspace }}/prefix | |
defaults: | |
run: | |
working-directory: ddtrace | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
path: ddtrace | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Setup | |
run: | | |
bash scripts/profiles/flask-simple/setup.sh ${PREFIX} | |
- name: Run | |
run: | | |
bash scripts/profiles/flask-simple/run.sh ${PREFIX} | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: flask-overhead-profile | |
path: ${{ github.workspace }}/prefix/artifacts |