diff --git a/.github/workflows/publish-nodejs.yml b/.github/workflows/publish-nodejs.yml index 404291e643..e1a9065c0b 100644 --- a/.github/workflows/publish-nodejs.yml +++ b/.github/workflows/publish-nodejs.yml @@ -24,7 +24,7 @@ jobs: with: path: ${{ env.OPENTELEMETRY_JS_CONTRIB_PATH }} repository: coralogix/opentelemetry-js-contrib - ref: refs/heads/coralogix-autoinstrumentation + ref: refs/heads/chore/mongodb-ended-span ssh-key: ${{ secrets.OPENTELEMETRY_CI_GITHUB_KEY }} - uses: actions/checkout@v3 with: @@ -38,6 +38,9 @@ jobs: - name: Build opentelemetry-instrumentation-aws-lambda working-directory: ${{ env.OPENTELEMETRY_JS_CONTRIB_PATH }}/plugins/node/opentelemetry-instrumentation-aws-lambda run: npm install --ignore-scripts && npm pack --ignore-scripts + - name: Build opentelemetry-instrumentation-mongodb + working-directory: ${{ env.OPENTELEMETRY_JS_CONTRIB_PATH }}/plugins/node/opentelemetry-instrumentation-mongodb + run: npm install --ignore-scripts && npm pack --ignore-scripts - name: Build opentelemetry-instrumentation-aws-sdk working-directory: ${{ env.OPENTELEMETRY_JS_CONTRIB_PATH }}/plugins/node/opentelemetry-instrumentation-aws-sdk run: npm install --ignore-scripts && npm pack --ignore-scripts diff --git a/nodejs/packages/layer/package.json b/nodejs/packages/layer/package.json index d85dbe6323..e7ae7941e8 100644 --- a/nodejs/packages/layer/package.json +++ b/nodejs/packages/layer/package.json @@ -42,7 +42,7 @@ "@opentelemetry/instrumentation-http": "0.41.0", "@opentelemetry/instrumentation-ioredis": "0.35.0", "@opentelemetry/instrumentation-koa": "0.35.0", - "@opentelemetry/instrumentation-mongodb": "0.36.0", + "@opentelemetry/instrumentation-mongodb": "file:../../../../opentelemetry-js-contrib-cx/plugins/node/opentelemetry-instrumentation-mongodb/opentelemetry-instrumentation-mongodb-0.36.0.tgz", "@opentelemetry/instrumentation-mysql": "0.34.0", "@opentelemetry/instrumentation-net": "0.32.0", "@opentelemetry/instrumentation-pg": "0.36.0",