Skip to content

chore(asm): more timeout span tags and update telemetry tags for rasp… #28535

chore(asm): more timeout span tags and update telemetry tags for rasp…

chore(asm): more timeout span tags and update telemetry tags for rasp… #28535

name: encoders-profile
on:
push:
branches:
- main
- 'mq-working-branch**'
pull_request:
paths:
- 'ddtrace/internal/_encoding.pyx'
- 'scripts/profiles/encoders/**'
- '.github/workflows/encoders-profile.yml'
jobs:
encoders-profile:
runs-on: ubuntu-latest
env:
PREFIX: ${{ github.workspace }}/prefix
defaults:
run:
working-directory: ddtrace
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
path: ddtrace
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: "3.10"
- name: Setup
run: |
bash scripts/profiles/encoders/setup.sh ${PREFIX}
- name: Run
run: |
bash scripts/profiles/encoders/run.sh ${PREFIX}
for a in `ls ${PREFIX}/artifacts`
do
sed -i 's|${{ github.workspace }}/ddtrace/||g' ${PREFIX}/artifacts/$a
done
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
name: encoders-profile
path: ${{ github.workspace }}/prefix/artifacts