Skip to content

Commit a75ac50

Browse files
committed
chore: add another round of instrumentations
1 parent 22b32f2 commit a75ac50

File tree

14 files changed

+41
-27
lines changed

14 files changed

+41
-27
lines changed

plugins/node/opentelemetry-instrumentation-generic-pool/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"types": "build/src/index.d.ts",
77
"repository": "open-telemetry/opentelemetry-js-contrib",
88
"scripts": {
9-
"test": "nyc mocha 'test/**/*.ts'",
9+
"test": "nyc --no-clean mocha 'test/**/*.ts'",
1010
"tdd": "yarn test -- --watch-extensions ts --watch",
1111
"clean": "rimraf build/*",
1212
"lint": "eslint . --ext .ts",
@@ -16,7 +16,8 @@
1616
"setup:dev": "nx run-many -t compile -p @opentelemetry/instrumentation-generic-pool",
1717
"compile": "tsc -p .",
1818
"prepublishOnly": "npm run compile",
19-
"watch": "tsc -w"
19+
"watch": "tsc -w",
20+
"coverage:merge": "nyc merge .nyc_output coverage/coverage-final.json"
2021
},
2122
"keywords": [
2223
"generic-pool",

plugins/node/opentelemetry-instrumentation-graphql/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
"lint:fix": "eslint . --ext .ts --fix",
1414
"lint:readme": "node ../../../scripts/lint-readme.js",
1515
"prepublishOnly": "npm run compile",
16-
"test": "nyc mocha 'test/**/*.test.ts'",
16+
"test": "nyc --no-clean mocha 'test/**/*.test.ts'",
1717
"test-all-versions": "tav",
1818
"tdd": "npm run test -- --watch-extensions ts --watch",
1919
"version:update": "node ../../../scripts/version-update.js",
20-
"watch": "tsc -w"
20+
"watch": "tsc -w",
21+
"coverage:merge": "nyc merge .nyc_output coverage/coverage-final.json"
2122
},
2223
"keywords": [
2324
"graphql",

plugins/node/opentelemetry-instrumentation-hapi/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"types": "build/src/index.d.ts",
77
"repository": "open-telemetry/opentelemetry-js-contrib",
88
"scripts": {
9-
"test": "nyc mocha 'test/**/*.test.ts'",
9+
"test": "nyc --no-clean mocha 'test/**/*.test.ts'",
1010
"test-all-versions": "tav",
1111
"tdd": "yarn test -- --watch-extensions ts --watch",
1212
"clean": "rimraf build/*",
@@ -16,7 +16,8 @@
1616
"version:update": "node ../../../scripts/version-update.js",
1717
"setup:dev": "nx run-many -t compile -p @opentelemetry/instrumentation-hapi",
1818
"compile": "tsc -p .",
19-
"prepublishOnly": "npm run compile"
19+
"prepublishOnly": "npm run compile",
20+
"coverage:merge": "nyc merge .nyc_output coverage/coverage-final.json"
2021
},
2122
"keywords": [
2223
"hapi",

plugins/node/opentelemetry-instrumentation-ioredis/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"types": "build/src/index.d.ts",
77
"repository": "open-telemetry/opentelemetry-js-contrib",
88
"scripts": {
9-
"test": "nyc mocha 'test/**/*.test.ts'",
9+
"test": "nyc --no-clean mocha 'test/**/*.test.ts'",
1010
"test:debug": "cross-env RUN_REDIS_TESTS_LOCAL=true mocha --inspect-brk --no-timeouts 'test/**/*.test.ts'",
1111
"test:local": "cross-env RUN_REDIS_TESTS_LOCAL=true npm run test",
1212
"test-all-versions": "tav",
@@ -19,7 +19,8 @@
1919
"version:update": "node ../../../scripts/version-update.js",
2020
"setup:dev": "nx run-many -t compile -p @opentelemetry/instrumentation-ioredis",
2121
"compile": "tsc -p .",
22-
"prepublishOnly": "npm run compile"
22+
"prepublishOnly": "npm run compile",
23+
"coverage:merge": "nyc merge .nyc_output coverage/coverage-final.json"
2324
},
2425
"keywords": [
2526
"instrumentation",

plugins/node/opentelemetry-instrumentation-knex/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"types": "build/src/index.d.ts",
77
"repository": "open-telemetry/opentelemetry-js-contrib",
88
"scripts": {
9-
"test": "nyc mocha 'test/**/*.ts'",
9+
"test": "nyc --no-clean mocha 'test/**/*.ts'",
1010
"tdd": "yarn test -- --watch-extensions ts --watch",
1111
"clean": "rimraf build/*",
1212
"lint": "eslint . --ext .ts",
@@ -16,7 +16,8 @@
1616
"setup:dev": "nx run-many -t compile -p @opentelemetry/instrumentation-knex",
1717
"compile": "tsc -p .",
1818
"prepublishOnly": "npm run compile",
19-
"watch": "tsc -w"
19+
"watch": "tsc -w",
20+
"coverage:merge": "nyc merge .nyc_output coverage/coverage-final.json"
2021
},
2122
"keywords": [
2223
"instrumentation",

plugins/node/opentelemetry-instrumentation-koa/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"types": "build/src/index.d.ts",
77
"repository": "open-telemetry/opentelemetry-js-contrib",
88
"scripts": {
9-
"test": "nyc mocha 'test/**/*.ts'",
9+
"test": "nyc --no-clean mocha 'test/**/*.ts'",
1010
"test-all-versions": "tav",
1111
"tdd": "yarn test -- --watch-extensions ts --watch",
1212
"clean": "rimraf build/*",
@@ -17,7 +17,8 @@
1717
"setup:dev": "nx run-many -t compile -p @opentelemetry/instrumentation-koa",
1818
"compile": "tsc -p .",
1919
"prepublishOnly": "npm run compile",
20-
"watch": "tsc -w"
20+
"watch": "tsc -w",
21+
"coverage:merge": "nyc merge .nyc_output coverage/coverage-final.json"
2122
},
2223
"keywords": [
2324
"instrumentation",

plugins/node/opentelemetry-instrumentation-memcached/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@
1313
"lint:fix": "eslint . --ext .ts --fix",
1414
"prepublishOnly": "npm run compile",
1515
"tdd": "npm run test -- --watch-extensions ts --watch",
16-
"test": "nyc mocha 'test/**/*.test.ts'",
16+
"test": "nyc --no-clean mocha 'test/**/*.test.ts'",
1717
"test:debug": "cross-env RUN_MEMCACHED_TESTS_LOCAL=true mocha --inspect-brk --no-timeouts 'test/**/*.test.ts'",
1818
"test:local": "cross-env RUN_MEMCACHED_TESTS_LOCAL=true npm run test",
19-
"version:update": "node ../../../scripts/version-update.js"
19+
"version:update": "node ../../../scripts/version-update.js",
20+
"coverage:merge": "nyc merge .nyc_output coverage/coverage-final.json"
2021
},
2122
"keywords": [
2223
"instrumentation",

plugins/node/opentelemetry-instrumentation-mongodb/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"setup:dev": "nx run-many -t compile -p @opentelemetry/instrumentation-mongodb",
2525
"compile": "tsc -p .",
2626
"prepublishOnly": "npm run compile",
27-
"watch": "tsc -w"
27+
"watch": "tsc -w",
28+
"coverage:merge": "nyc merge .nyc_output coverage/coverage-final.json"
2829
},
2930
"keywords": [
3031
"mongodb",

plugins/node/opentelemetry-instrumentation-mysql/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
"lint": "eslint . --ext .ts",
1414
"prepublishOnly": "npm run compile",
1515
"tdd": "npm run test -- --watch-extensions ts --watch",
16-
"test": "nyc mocha 'test/**/*.test.ts'",
17-
"version:update": "node ../../../scripts/version-update.js"
16+
"test": "nyc --no-clean mocha 'test/**/*.test.ts'",
17+
"version:update": "node ../../../scripts/version-update.js",
18+
"coverage:merge": "nyc merge .nyc_output coverage/coverage-final.json"
1819
},
1920
"keywords": [
2021
"instrumentation",

plugins/node/opentelemetry-instrumentation-mysql2/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@
1313
"lint": "eslint . --ext .ts",
1414
"prepublishOnly": "npm run compile",
1515
"tdd": "npm run test -- --watch-extensions ts --watch",
16-
"test": "nyc mocha 'test/**/*.test.ts'",
16+
"test": "nyc --no-clean mocha 'test/**/*.test.ts'",
1717
"test-all-versions": "tav",
18-
"version:update": "node ../../../scripts/version-update.js"
18+
"version:update": "node ../../../scripts/version-update.js",
19+
"coverage:merge": "nyc merge .nyc_output coverage/coverage-final.json"
1920
},
2021
"keywords": [
2122
"instrumentation",

0 commit comments

Comments
 (0)