Skip to content

feat(dsm): add manual checkpoint parameter to consume API #57954

feat(dsm): add manual checkpoint parameter to consume API

feat(dsm): add manual checkpoint parameter to consume API #57954

name: django-overhead-profile
on:
push:
branches:
- main
- 'mq-working-branch**'
pull_request:
paths:
- 'ddtrace/**'
- 'scripts/profiles/django-simple/**'
- '.github/workflows/django-overhead-profile.yml'
jobs:
django-overhead-profile:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- suffix: "-v1"
stack_v2: "0"
- suffix: "-v2"
stack_v2: "1"
env:
PREFIX: ${{ github.workspace }}/prefix
DD_CODE_ORIGIN_FOR_SPANS_ENABLED: "1"
DD_PROFILING_ENABLED: "1"
DD_PROFILING_STACK_V2_ENABLED: ${{ matrix.stack_v2 }}
DD_PROFILING_OUTPUT_PPROF: ${{ github.workspace }}/prefix/artifacts/ddtrace_profile
DD_EXCEPTION_REPLAY_ENABLED: "1"
defaults:
run:
working-directory: ddtrace
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
path: ddtrace
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: "3.10"
- name: Setup
run: |
bash scripts/profiles/django-simple/setup.sh ${PREFIX}
- name: Run
run: |
bash scripts/profiles/django-simple/run.sh ${PREFIX}
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: django-overhead-profile${{ matrix.suffix }}
path: ${{ github.workspace }}/prefix/artifacts