Skip to content

add experimental tracing using a native event collector #15

add experimental tracing using a native event collector

add experimental tracing using a native event collector #15

Workflow file for this run

name: Collector
on:
pull_request:
push:
branches: [master]
schedule:
- cron: '0 4 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
# TODO: upstream jobs
jobs:
express:
runs-on: ubuntu-latest
env:
PLUGINS: express|body-parser|cookie-parser
RUST_BACKTRACE: '1'
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: DataDog/libdatadog-nodejs
ref: main
path: libdatadog-nodejs
- run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly
- run: npm install && npm run build
working-directory: ./libdatadog-nodejs
- uses: ./.github/actions/testagent/start
- uses: ./.github/actions/node/setup
- run: yarn install
- uses: ./.github/actions/node/oldest
- run: NODE_OPTIONS="-r $PWD/libdatadog-nodejs/global" yarn test:plugins:ci
- uses: ./.github/actions/node/latest
- run: NODE_OPTIONS="-r $PWD/libdatadog-nodejs/global" yarn test:plugins:ci
- if: always()
uses: ./.github/actions/testagent/logs