Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
361 changes: 348 additions & 13 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"test:ci:affected": "nx affected -t test",
"test:browser": "nx run-many -t test:browser",
"test:browser:ci:affected": "nx affected -t test:browser",
"test-all-versions": "npm run --if-present test-all-versions --workspaces",
"test-all-versions:ci:affected": "npm run list:affected | tail -n +5 | xargs -I {} -t npm run --if-present test-all-versions -w {}",
"test-all-versions": "nx run-many -t test-all-versions",
"test-all-versions:ci:affected": "nx affected -t test-all-versions",
"test-merge-coverage:ci:affected": "nx affected -t test-merge-coverage",
"test-services:start": "docker compose -f ./test/docker-compose.yaml up -d --wait",
"test-services:stop": "docker compose -f ./test/docker-compose.yaml down",
Expand Down Expand Up @@ -63,9 +63,11 @@
"markdownlint-cli2": "0.13.0",
"minimatch": "^9.0.3",
"mocha": "^11.0.0",
"npm-package-arg": "^13.0.0",
"prettier": "2.8.8",
"process": "0.11.10",
"semver": "^7.6.0",
"test-all-versions": "^6.0.0",
"ts-node": "10.9.2",
"typescript": "5.0.4",
"util": "0.12.5"
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-amqplib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"tdd": "npm run test -- --watch-extensions ts --watch",
"test": "nyc --no-clean mocha --require '@opentelemetry/contrib-test-utils' 'test/**/*.test.ts'",
"test:with-services-env": "cross-env NODE_OPTIONS='-r dotenv/config' DOTENV_CONFIG_PATH=../../test/test-services.env npm test",
"test-all-versions": "tav",
"test-all-versions": "../../test-all-versions.js",
"test-all-versions:with-services-env": "cross-env NODE_OPTIONS='-r dotenv/config' DOTENV_CONFIG_PATH=../../test/test-services.env npm run test-all-versions",
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
"test-services:start": "cd ../.. && npm run test-services:start rabbitmq",
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-aws-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"prepublishOnly": "npm run compile",
"tdd": "npm run test -- --watch-extensions ts --watch",
"test": "nyc --no-clean mocha --require '@opentelemetry/contrib-test-utils' 'test/**/*.test.ts'",
"test-all-versions": "tav",
"test-all-versions": "../../test-all-versions.js",
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
"version:update": "node ../../scripts/version-update.js",
"watch": "tsc -w"
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-bunyan/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"prepublishOnly": "npm run compile",
"tdd": "npm run test -- --watch-extensions ts --watch",
"test": "nyc --no-clean mocha 'test/**/*.test.ts'",
"test-all-versions": "tav",
"test-all-versions": "../../test-all-versions.js",
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
"version:update": "node ../../scripts/version-update.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-cucumber/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"scripts": {
"test": "nyc --no-clean mocha 'test/**/*.test.ts'",
"test-all-versions": "tav",
"test-all-versions": "../../test-all-versions.js",
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
"tdd": "npm run test -- --watch-extensions ts --watch",
"clean": "rimraf build/*",
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-dataloader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"prepublishOnly": "npm run compile",
"tdd": "npm run test -- --watch-extensions ts --watch",
"test": "nyc --no-clean mocha 'test/**/*.test.ts'",
"test-all-versions": "tav",
"test-all-versions": "../../test-all-versions.js",
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
"version:update": "node ../../scripts/version-update.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"prepublishOnly": "npm run compile",
"tdd": "yarn test -- --watch-extensions ts --watch",
"test": "nyc --no-clean mocha 'test/**/*.test.ts'",
"test-all-versions": "tav",
"test-all-versions": "../../test-all-versions.js",
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
"version:update": "node ../../scripts/version-update.js",
"watch": "tsc -w"
Expand Down
1 change: 1 addition & 0 deletions packages/instrumentation-fastify/.tav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
include: "^4.0.0"
mode: max-7
commands: npm run test
peerDependencies: "@fastify/[email protected]"
- versions:
include: ">=5 <6"
mode: max-7
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-fastify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"lint:readme": "node ../../scripts/lint-readme.js",
"prepublishOnly": "npm run compile",
"test": "nyc --no-clean mocha 'test/**/*.test.ts'",
"test-all-versions": "tav",
"test-all-versions": "../../test-all-versions.js",
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
"version:update": "node ../../scripts/version-update.js",
"watch": "tsc -w"
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"prepublishOnly": "npm run compile",
"tdd": "npm run test -- --watch-extensions ts --watch",
"test": "nyc --no-clean mocha 'test/**/*.test.ts'",
"test-all-versions": "tav",
"test-all-versions": "../../test-all-versions.js",
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
"version:update": "node ../../scripts/version-update.js",
"watch": "tsc -w"
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-hapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"prepublishOnly": "npm run compile",
"tdd": "npm test -- --watch-extensions ts --watch",
"test": "nyc --no-clean mocha 'test/**/*.test.ts'",
"test-all-versions": "tav",
"test-all-versions": "../../test-all-versions.js",
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
"version:update": "node ../../scripts/version-update.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-ioredis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"lint:readme": "node ../../scripts/lint-readme.js",
"prepublishOnly": "npm run compile",
"test": "nyc --no-clean mocha 'test/**/*.test.ts'",
"test-all-versions": "tav",
"test-all-versions": "../../test-all-versions.js",
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
"tdd": "npm run test -- --watch-extensions ts --watch",
"test:debug": "cross-env RUN_REDIS_TESTS=true mocha --inspect-brk --no-timeouts 'test/**/*.test.ts'",
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-kafkajs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"prepublishOnly": "npm run compile",
"tdd": "npm run test -- --watch-extensions ts --watch",
"test": "nyc --no-clean mocha --require @opentelemetry/contrib-test-utils 'test/**/*.test.ts'",
"test-all-versions": "tav",
"test-all-versions": "../../test-all-versions.js",
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
"version:update": "node ../../scripts/version-update.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-koa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"prepublishOnly": "npm run compile",
"tdd": "npm run test -- --watch-extensions ts --watch",
"test": "nyc --no-clean mocha 'test/**/*.ts'",
"test-all-versions": "tav",
"test-all-versions": "../../test-all-versions.js",
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
"version:update": "node ../../scripts/version-update.js",
"watch": "tsc -w"
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-lru-memoizer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"prepublishOnly": "npm run compile",
"tdd": "npm run test -- --watch-extensions ts --watch",
"test": "nyc --no-clean mocha --require '@opentelemetry/contrib-test-utils' 'test/**/*.test.ts'",
"test-all-versions": "tav",
"test-all-versions": "../../test-all-versions.js",
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
"version:update": "node ../../scripts/version-update.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-mongodb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"test-v4": "nyc --no-clean mocha --require '@opentelemetry/contrib-test-utils' 'test/mongodb-v4-v5-v6.metrics.test.ts' 'test/**/mongodb-v4.test.ts'",
"test-v5-v6": "nyc --no-clean mocha --require '@opentelemetry/contrib-test-utils' 'test/mongodb-v4-v5-v6.metrics.test.ts' 'test/**/mongodb-v5-v6.test.ts'",
"test:with-services-env": "cross-env NODE_OPTIONS='-r dotenv/config' DOTENV_CONFIG_PATH=../../test/test-services.env npm test",
"test-all-versions": "tav",
"test-all-versions": "../../test-all-versions.js",
"test-all-versions:with-services-env": "cross-env NODE_OPTIONS='-r dotenv/config' DOTENV_CONFIG_PATH=../../test/test-services.env npm run test-all-versions",
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
"test-services:start": "cd ../.. && npm run test-services:start mongodb",
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-mongoose/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"test-v5-v6": "nyc mocha --require '@opentelemetry/contrib-test-utils' 'test/mongoose-common.test.ts' 'test/**/mongoose-v5-v6.test.ts'",
"test-v7-v8": "nyc mocha --require '@opentelemetry/contrib-test-utils' 'test/mongoose-common.test.ts' 'test/**/mongoose-v7-v8.test.ts'",
"test:with-services-env": "cross-env NODE_OPTIONS='-r dotenv/config' DOTENV_CONFIG_PATH=../../test/test-services.env npm test",
"test-all-versions": "tav",
"test-all-versions": "../../test-all-versions.js",
"test-all-versions:with-services-env": "cross-env NODE_OPTIONS='-r dotenv/config' DOTENV_CONFIG_PATH=../../test/test-services.env npm run test-all-versions",
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
"test-services:start": "cd ../.. && npm run test-services:start mongodb",
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-mysql2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"tdd": "npm run test -- --watch-extensions ts --watch",
"test": "nyc --no-clean mocha 'test/**/*.test.ts'",
"test:with-services-env": "cross-env NODE_OPTIONS='-r dotenv/config' DOTENV_CONFIG_PATH=../../test/test-services.env npm test",
"test-all-versions": "tav",
"test-all-versions": "../../test-all-versions.js",
"test-all-versions:with-services-env": "cross-env NODE_OPTIONS='-r dotenv/config' DOTENV_CONFIG_PATH=../../test/test-services.env npm run test-all-versions",
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
"test-services:start": "cd ../.. && npm run test-services:start mysql",
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-nestjs-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"tdd": "npm run test -- --watch-extensions ts --watch",
"test": "npm run test-required-node-version && nyc --no-clean mocha --timeout 5000 'test/**/*.test.ts' || echo 'Node version is not supported for testing'",
"test-required-node-version": "node -e \"process.exit(parseInt(process.versions.node.split('.')[0], 10) >= 15 ? 0 : 1)\"",
"test-all-versions": "tav",
"test-all-versions": "../../test-all-versions.js",
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
"version:update": "node ../../scripts/version-update.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-openai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"prepublishOnly": "npm run compile",
"tdd": "npm run test -- --watch-extensions ts --watch",
"test": "nyc --no-clean mocha --require '@opentelemetry/contrib-test-utils' 'test/**/*.test.ts'",
"test-all-versions": "tav",
"test-all-versions": "../../test-all-versions.js",
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
"version:update": "node ../../scripts/version-update.js",
"watch": "tsc -w"
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-oracledb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"test": "nyc --no-clean mocha 'test/**/*.test.ts'",
"test:debug": "mocha --inspect-brk --no-timeouts 'test/**/*.test.ts'",
"test:with-services-env": "cross-env NODE_OPTIONS='-r dotenv/config' DOTENV_CONFIG_PATH=../../test/test-services.env npm test",
"test-all-versions": "tav",
"test-all-versions": "../../test-all-versions.js",
"test-all-versions:with-services-env": "cross-env NODE_OPTIONS='-r dotenv/config' DOTENV_CONFIG_PATH=../../test/test-services.env npm run test-all-versions",
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
"test-services:start": "cd ../.. && npm run test-services:start oracledb",
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-pg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"test": "nyc --no-clean mocha 'test/**/*.test.ts'",
"test:debug": "mocha --inspect-brk --no-timeouts 'test/**/*.test.ts'",
"test:with-services-env": "cross-env NODE_OPTIONS='-r dotenv/config' DOTENV_CONFIG_PATH=../../test/test-services.env npm test",
"test-all-versions": "tav",
"test-all-versions": "../../test-all-versions.js",
"test-all-versions:with-services-env": "cross-env NODE_OPTIONS='-r dotenv/config' DOTENV_CONFIG_PATH=../../test/test-services.env npm run test-all-versions",
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
"test-services:start": "cd ../.. && npm run test-services:start postgres",
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-pino/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"prepublishOnly": "npm run compile",
"tdd": "npm run test -- --watch-extensions ts --watch",
"test": "nyc --no-clean mocha 'test/**/*.test.ts'",
"test-all-versions": "tav",
"test-all-versions": "../../test-all-versions.js",
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
"version:update": "node ../../scripts/version-update.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"test": "nyc --no-clean mocha --require '@opentelemetry/contrib-test-utils' 'test/v4-v5/*.test.ts' 'test/*.test.ts'",
"test:debug": "cross-env RUN_REDIS_TESTS=true mocha --inspect-brk --no-timeouts 'test/**/*.test.ts'",
"test:with-services-env": "cross-env NODE_OPTIONS='-r dotenv/config' DOTENV_CONFIG_PATH=../../test/test-services.env npm test",
"test-all-versions": "tav",
"test-all-versions": "../../test-all-versions.js",
"test-all-versions:with-services-env": "cross-env NODE_OPTIONS='-r dotenv/config' DOTENV_CONFIG_PATH=../../test/test-services.env npm run test-all-versions",
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
"test-services:start": "cd ../.. && npm run test-services:start redis",
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-restify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"prepublishOnly": "npm run compile",
"tdd": "npm test -- --watch-extensions ts --watch",
"test": "SKIP_TEST_IF_NODE_NEWER_THAN=23 nyc --no-clean mocha --require '../../scripts/skip-test-if.js' 'test/**/*.ts'",
"test-all-versions": "tav",
"test-all-versions": "../../test-all-versions.js",
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
"version:update": "node ../../scripts/version-update.js",
"watch": "tsc -w"
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-socket.io/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"prepublishOnly": "npm run compile",
"tdd": "npm run test -- --watch-extensions ts --watch",
"test": "nyc --no-clean mocha --require '@opentelemetry/contrib-test-utils' 'test/**/*.test.ts'",
"test-all-versions": "tav",
"test-all-versions": "../../test-all-versions.js",
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
"version:update": "node ../../scripts/version-update.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-tedious/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"tdd": "npm run test -- --watch-extensions ts --watch",
"test": "nyc --no-clean mocha 'test/**/*.test.ts'",
"test:with-services-env": "cross-env NODE_OPTIONS='-r dotenv/config' DOTENV_CONFIG_PATH=../../test/test-services.env npm test",
"test-all-versions": "tav",
"test-all-versions": "../../test-all-versions.js",
"test-all-versions:with-services-env": "cross-env NODE_OPTIONS='-r dotenv/config' DOTENV_CONFIG_PATH=../../test/test-services.env npm run test-all-versions",
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
"test-services:start": "cd ../.. && npm run test-services:start mssql",
Expand Down
1 change: 1 addition & 0 deletions packages/instrumentation-typeorm/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
connection2.db
2 changes: 1 addition & 1 deletion packages/instrumentation-typeorm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"tdd": "npm run test -- --watch-extensions ts --watch",
"test": "nyc --no-clean mocha --require '@opentelemetry/contrib-test-utils' 'test/**/*.test.ts'",
"test:debug": "mocha --inspect-brk --no-timeouts 'test/**/*.test.ts'",
"test-all-versions": "tav",
"test-all-versions": "../../test-all-versions.js",
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
"version:update": "node ../../scripts/version-update.js",
"watch": "tsc -w"
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-undici/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"prepublishOnly": "npm run compile",
"tdd": "npm run test -- --watch-extensions ts --watch",
"test": "nyc --no-clean mocha test/**/*.test.ts",
"test-all-versions": "tav",
"test-all-versions": "../../test-all-versions.js",
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
"version:update": "node ../../scripts/version-update.js",
"watch": "tsc -w"
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-undici/test/utils/assertSpan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export const assertSpan = (
assert.strictEqual(span.events.length, 0, 'span contains no events');
}

// Error message changes between version se we will
// Error message changes between version so we will
// only assert its presence
if (validations.forceStatus) {
assert.equal(
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-winston/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"lint:readme": "node ../../scripts/lint-readme.js",
"prepublishOnly": "npm run compile",
"test": "nyc --no-clean mocha 'test/**/*.test.ts'",
"test-all-versions": "tav",
"test-all-versions": "../../test-all-versions.js",
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
"version:update": "node ../../scripts/version-update.js"
},
Expand Down
Loading
Loading