Add missing configuration values to telemetry #6539
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: Serverless performance test | |
on: | |
pull_request: | |
jobs: | |
performance-test: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 4 | |
matrix: | |
include: | |
- node-version: 16.14 | |
aws-runtime-name: "nodejs16.x" | |
- node-version: 18.12 | |
aws-runtime-name: "nodejs18.x" | |
steps: | |
- name: Checkout dd-trace-js | |
uses: actions/checkout@v3 | |
- name: Checkout datadog-lambda-js | |
uses: actions/checkout@v3 | |
with: | |
repository: DataDog/datadog-lambda-js | |
path: datadog-lambda-js | |
- name: Update package.json to the current ref | |
run: | | |
cd datadog-lambda-js | |
yarn add https://github.com/DataDog/dd-trace-js#refs/heads/$GITHUB_HEAD_REF --save-dev | |
- name: Build the layer | |
env: | |
NODE_VERSION: ${{ matrix.node-version }} | |
run: | | |
cd datadog-lambda-js | |
./scripts/build_layers.sh | |
- name: Performance tests | |
uses: DataDog/serverless-performance-test-action@main | |
with: | |
runtime_id: '${{ matrix.aws-runtime-name }}' | |
layer_path: 'datadog-lambda-js/.layers/datadog_lambda_node${{ matrix.node-version }}.zip' | |
layer_name: 'performance-tester-nodejs-${{ matrix.node-version }}' | |
role: arn:aws:iam::425362996713:role/serverless-integration-test-lambda-role | |
pr_number: ${{ github.event.pull_request.number }} | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.SERVERLESS_AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.SERVERLESS_AWS_SECRET_ACCESS_KEY }} | |
AWS_REGION: sa-east-1 | |
DD_API_KEY: ${{ secrets.SERVERLESS_DD_API_KEY }} |