v5.76.0 proposal #10838
This file contains hidden or 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: LLMObs | |
| on: | |
| pull_request: | |
| push: | |
| branches: [master] | |
| schedule: | |
| - cron: 0 4 * * * | |
| workflow_dispatch: | |
| inputs: | |
| latest-version: | |
| description: 'Node version to use' | |
| required: false | |
| type: string | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ inputs.latest-version }}-${{ github.ref || github.run_id }}" | |
| cancel-in-progress: true | |
| env: | |
| MOCHA_OPTIONS: ${{ github.ref == 'refs/heads/master' && '--retries 1' || '' }} | |
| LATEST_VERSION: ${{ inputs.latest-version }} | |
| jobs: | |
| sdk: | |
| strategy: | |
| matrix: | |
| version: [oldest, maintenance, active, latest] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - uses: ./.github/actions/testagent/start | |
| - uses: ./.github/actions/node | |
| with: | |
| version: ${{ matrix.version }} | |
| - uses: ./.github/actions/install | |
| - run: yarn test:llmobs:sdk:ci | |
| - if: always() | |
| uses: ./.github/actions/testagent/logs | |
| with: | |
| suffix: llmobs-${{ github.job }}-${{ matrix.version }} | |
| - uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1 | |
| - uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0 | |
| if: always() | |
| with: | |
| api_key: ${{ secrets.DD_API_KEY }} | |
| service: dd-trace-js-tests | |
| openai: | |
| runs-on: ubuntu-latest | |
| env: | |
| PLUGINS: openai | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - uses: ./.github/actions/testagent/start | |
| - uses: ./.github/actions/node/oldest-maintenance-lts | |
| - uses: ./.github/actions/install | |
| - run: yarn test:plugins:ci | |
| - run: yarn test:llmobs:plugins:ci | |
| shell: bash | |
| - uses: ./.github/actions/node/latest | |
| - run: yarn test:plugins:ci | |
| - run: yarn test:llmobs:plugins:ci | |
| shell: bash | |
| - uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1 | |
| - if: always() | |
| uses: ./.github/actions/testagent/logs | |
| with: | |
| suffix: llmobs-${{ github.job }} | |
| - uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0 | |
| if: always() | |
| with: | |
| api_key: ${{ secrets.DD_API_KEY }} | |
| service: dd-trace-js-tests | |
| langchain: | |
| runs-on: ubuntu-latest | |
| env: | |
| PLUGINS: langchain | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - uses: ./.github/actions/testagent/start | |
| - uses: ./.github/actions/node/oldest-maintenance-lts | |
| - uses: ./.github/actions/install | |
| - run: yarn test:plugins:ci | |
| - run: yarn test:llmobs:plugins:ci | |
| shell: bash | |
| - uses: ./.github/actions/node/latest | |
| - run: yarn test:plugins:ci | |
| - run: yarn test:llmobs:plugins:ci | |
| shell: bash | |
| - uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1 | |
| - if: always() | |
| uses: ./.github/actions/testagent/logs | |
| with: | |
| suffix: llmobs-${{ github.job }} | |
| - uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0 | |
| if: always() | |
| with: | |
| api_key: ${{ secrets.DD_API_KEY }} | |
| service: dd-trace-js-tests | |
| bedrock: | |
| runs-on: ubuntu-latest | |
| env: | |
| PLUGINS: aws-sdk | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - uses: ./.github/actions/testagent/start | |
| - uses: ./.github/actions/node/oldest-maintenance-lts | |
| - uses: ./.github/actions/install | |
| - run: yarn test:llmobs:plugins:ci | |
| shell: bash | |
| - uses: ./.github/actions/node/latest | |
| - run: yarn test:llmobs:plugins:ci | |
| shell: bash | |
| - uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1 | |
| - if: always() | |
| uses: ./.github/actions/testagent/logs | |
| with: | |
| suffix: llmobs-${{ github.job }} | |
| - uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0 | |
| if: always() | |
| with: | |
| api_key: ${{ secrets.DD_API_KEY }} | |
| service: dd-trace-js-tests | |
| vertex-ai: | |
| runs-on: ubuntu-latest | |
| env: | |
| PLUGINS: google-cloud-vertexai | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - uses: ./.github/actions/testagent/start | |
| - uses: ./.github/actions/node/oldest-maintenance-lts | |
| - uses: ./.github/actions/install | |
| - run: yarn test:plugins:ci | |
| - run: yarn test:llmobs:plugins:ci | |
| shell: bash | |
| - uses: ./.github/actions/node/latest | |
| - run: yarn test:plugins:ci | |
| - run: yarn test:llmobs:plugins:ci | |
| shell: bash | |
| - uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1 | |
| - if: always() | |
| uses: ./.github/actions/testagent/logs | |
| with: | |
| suffix: llmobs-${{ github.job }} | |
| - uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0 | |
| if: always() | |
| with: | |
| api_key: ${{ secrets.DD_API_KEY }} | |
| service: dd-trace-js-tests | |
| ai: | |
| runs-on: ubuntu-latest | |
| env: | |
| PLUGINS: ai | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - uses: ./.github/actions/testagent/start | |
| - uses: ./.github/actions/node/oldest-maintenance-lts | |
| - uses: ./.github/actions/install | |
| - run: yarn test:plugins:ci | |
| - run: yarn test:llmobs:plugins:ci | |
| shell: bash | |
| - uses: ./.github/actions/node/latest | |
| - run: yarn test:plugins:ci | |
| - run: yarn test:llmobs:plugins:ci | |
| shell: bash | |
| - uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1 | |
| - if: always() | |
| uses: ./.github/actions/testagent/logs | |
| with: | |
| suffix: llmobs-${{ github.job }} | |
| - uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0 | |
| if: always() | |
| with: | |
| api_key: ${{ secrets.DD_API_KEY }} | |
| service: dd-trace-js-tests | |
| anthropic: | |
| runs-on: ubuntu-latest | |
| env: | |
| PLUGINS: anthropic | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - uses: ./.github/actions/testagent/start | |
| - uses: ./.github/actions/node/oldest-maintenance-lts | |
| - uses: ./.github/actions/install | |
| - run: yarn test:plugins:ci | |
| - run: yarn test:llmobs:plugins:ci | |
| shell: bash | |
| - uses: ./.github/actions/node/latest | |
| - run: yarn test:plugins:ci | |
| - run: yarn test:llmobs:plugins:ci | |
| shell: bash | |
| - uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1 | |
| - if: always() | |
| uses: ./.github/actions/testagent/logs | |
| with: | |
| suffix: llmobs-${{ github.job }} | |
| - uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0 | |
| if: always() | |
| with: | |
| api_key: ${{ secrets.DD_API_KEY }} | |
| service: dd-trace-js-tests |