Skip to content

chore(llmobs): refactor to use span events #37456

chore(llmobs): refactor to use span events

chore(llmobs): refactor to use span events #37456

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