Skip to content

fix(profiling): enable endpoint profiling using libdatadog exporter #33373

fix(profiling): enable endpoint profiling using libdatadog exporter

fix(profiling): enable endpoint profiling using libdatadog exporter #33373

name: flask-overhead-profile
on:
push:
branches:
- main
pull_request:
paths:
- 'ddtrace/**'
- 'scripts/profiles/flask-simple/**'
- '.github/workflows/flask-overhead-profile.yml'
merge_group:
# Trigger jobs when PR is added to merge queue
types: [checks_requested]
jobs:
flask-overhead-profile:
runs-on: ubuntu-latest
env:
PREFIX: ${{ github.workspace }}/prefix
defaults:
run:
working-directory: ddtrace
steps:
- uses: actions/checkout@v4
with:
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