feat(instrumentation-http): Add API for adding custom metric attributes #8801
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: W3C Trace Context Integration Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
merge_group: | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: restore lock files | |
uses: actions/cache@master # must use unreleased master to cache multiple paths | |
id: cache | |
with: | |
# must be done before bootstrap to not include node_modules files in the cache paths | |
path: | | |
package-lock.json | |
packages/*/package-lock.json | |
metapackages/*/package-lock.json | |
packages/*/package-lock.json | |
integration-tests/*/package-lock.json | |
key: ${{ runner.os }}-w3c_integration-${{ hashFiles('**/package.json') }} | |
- name: Install and Bootstrap (cache miss) 🔧 | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: | | |
npm install --ignore-scripts | |
npx lerna bootstrap --no-ci --hoist --scope=propagation-validation-server --include-dependencies | |
- name: Install and Bootstrap (cache hit) 🔧 | |
if: steps.cache.outputs.cache-hit == 'true' | |
run: | | |
npm ci --ignore-scripts | |
npx lerna bootstrap --hoist --scope=propagation-validation-server --include-dependencies | |
- name: Generate version.ts files | |
run: lerna run version | |
- name: Build 🔧 | |
run: npm run compile | |
working-directory: ./integration-tests/propagation-validation-server | |
- name: Run W3C Test harness | |
run: ./integration-tests/tracecontext-integration-test.sh |