@opentelemetry/instrumentation-mongodb 0.56.0 → 0.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/version.d.ts +1 -1
- package/build/src/version.js +1 -1
- package/build/src/version.js.map +1 -1
- package/package.json +20 -18
package/build/src/version.d.ts
CHANGED
package/build/src/version.js
CHANGED
|
@@ -17,6 +17,6 @@
|
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
exports.PACKAGE_NAME = exports.PACKAGE_VERSION = void 0;
|
|
19
19
|
// this is autogenerated file, see scripts/version-update.js
|
|
20
|
-
exports.PACKAGE_VERSION = '0.
|
|
20
|
+
exports.PACKAGE_VERSION = '0.57.0';
|
|
21
21
|
exports.PACKAGE_NAME = '@opentelemetry/instrumentation-mongodb';
|
|
22
22
|
//# sourceMappingURL=version.js.map
|
package/build/src/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4DAA4D;AAC/C,QAAA,eAAe,GAAG,QAAQ,CAAC;AAC3B,QAAA,YAAY,GAAG,wCAAwC,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// this is autogenerated file, see scripts/version-update.js\nexport const PACKAGE_VERSION = '0.
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4DAA4D;AAC/C,QAAA,eAAe,GAAG,QAAQ,CAAC;AAC3B,QAAA,YAAY,GAAG,wCAAwC,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// this is autogenerated file, see scripts/version-update.js\nexport const PACKAGE_VERSION = '0.57.0';\nexport const PACKAGE_NAME = '@opentelemetry/instrumentation-mongodb';\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentelemetry/instrumentation-mongodb",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.57.0",
|
|
4
4
|
"description": "OpenTelemetry instrumentation for `mongodb` database client for MongoDB",
|
|
5
5
|
"main": "build/src/index.js",
|
|
6
6
|
"types": "build/src/index.d.ts",
|
|
@@ -10,24 +10,25 @@
|
|
|
10
10
|
"directory": "packages/instrumentation-mongodb"
|
|
11
11
|
},
|
|
12
12
|
"scripts": {
|
|
13
|
-
"docker:start": "docker run -e MONGODB_DB=opentelemetry-tests -e MONGODB_PORT=27017 -e MONGODB_HOST=127.0.0.1 -p 27017:27017 --rm mongo",
|
|
14
|
-
"test": "npm run test-v4 && npm run test-v5-v6",
|
|
15
|
-
"test-v3": "tav mongodb 3.7.4 npm run test-v3-run",
|
|
16
|
-
"test-v4": "tav mongodb 4.17.0 npm run test-v4-run",
|
|
17
|
-
"test-v5-v6": "npm run test-v5-v6-run",
|
|
18
|
-
"test-v3-run": "nyc --no-clean mocha --require '@opentelemetry/contrib-test-utils' 'test/**/mongodb-v3.test.ts'",
|
|
19
|
-
"test-v4-run": "nyc --no-clean mocha --require '@opentelemetry/contrib-test-utils' 'test/mongodb-v4-v5-v6.metrics.test.ts' 'test/**/mongodb-v4.test.ts'",
|
|
20
|
-
"test-v5-v6-run": "nyc --no-clean mocha --require '@opentelemetry/contrib-test-utils' 'test/mongodb-v4-v5-v6.metrics.test.ts' 'test/**/mongodb-v5-v6.test.ts'",
|
|
21
|
-
"test-all-versions": "tav",
|
|
22
|
-
"tdd": "npm run test-v5-v6-run -- --watch-extensions ts --watch",
|
|
23
13
|
"clean": "rimraf build/*",
|
|
24
|
-
"lint": "eslint . --ext
|
|
25
|
-
"lint:fix": "eslint . --ext
|
|
14
|
+
"lint": "eslint . --ext=ts,js,mjs",
|
|
15
|
+
"lint:fix": "eslint . --ext=ts,js,mjs --fix",
|
|
26
16
|
"lint:readme": "node ../../scripts/lint-readme.js",
|
|
27
17
|
"version:update": "node ../../scripts/version-update.js",
|
|
28
|
-
"
|
|
18
|
+
"compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-mongodb",
|
|
29
19
|
"compile": "tsc -p .",
|
|
30
20
|
"prepublishOnly": "npm run compile",
|
|
21
|
+
"tdd": "npm run test-v5-v6-run -- --watch-extensions ts --watch",
|
|
22
|
+
"test": "npm run test-v5-v6",
|
|
23
|
+
"test-v3": "nyc --no-clean mocha --require '@opentelemetry/contrib-test-utils' 'test/**/mongodb-v3.test.ts'",
|
|
24
|
+
"test-v4": "nyc --no-clean mocha --require '@opentelemetry/contrib-test-utils' 'test/mongodb-v4-v5-v6.metrics.test.ts' 'test/**/mongodb-v4.test.ts'",
|
|
25
|
+
"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'",
|
|
26
|
+
"test:with-services-env": "cross-env NODE_OPTIONS='-r dotenv/config' DOTENV_CONFIG_PATH=../../test/test-services.env npm test",
|
|
27
|
+
"test-all-versions": "tav",
|
|
28
|
+
"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",
|
|
29
|
+
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
|
|
30
|
+
"test-services:start": "cd ../.. && npm run test-services:start mongodb",
|
|
31
|
+
"test-services:stop": "cd ../.. && npm run test-services:stop mongodb",
|
|
31
32
|
"watch": "tsc -w"
|
|
32
33
|
},
|
|
33
34
|
"keywords": [
|
|
@@ -57,23 +58,24 @@
|
|
|
57
58
|
"devDependencies": {
|
|
58
59
|
"@opentelemetry/api": "^1.3.0",
|
|
59
60
|
"@opentelemetry/context-async-hooks": "^2.0.0",
|
|
60
|
-
"@opentelemetry/contrib-test-utils": "^0.
|
|
61
|
+
"@opentelemetry/contrib-test-utils": "^0.50.0",
|
|
61
62
|
"@opentelemetry/sdk-metrics": "^2.0.0",
|
|
62
63
|
"@opentelemetry/sdk-trace-base": "^2.0.0",
|
|
63
64
|
"@opentelemetry/sdk-trace-node": "^2.0.0",
|
|
64
65
|
"@types/bson": "4.0.5",
|
|
65
66
|
"@types/mocha": "10.0.10",
|
|
66
67
|
"@types/node": "18.18.14",
|
|
67
|
-
"
|
|
68
|
+
"cross-env": "7.0.3",
|
|
69
|
+
"mongodb": "6.19.0",
|
|
68
70
|
"nyc": "17.1.0",
|
|
69
71
|
"rimraf": "5.0.10",
|
|
70
72
|
"test-all-versions": "6.1.0",
|
|
71
73
|
"typescript": "5.0.4"
|
|
72
74
|
},
|
|
73
75
|
"dependencies": {
|
|
74
|
-
"@opentelemetry/instrumentation": "^0.
|
|
76
|
+
"@opentelemetry/instrumentation": "^0.204.0",
|
|
75
77
|
"@opentelemetry/semantic-conventions": "^1.27.0"
|
|
76
78
|
},
|
|
77
79
|
"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/packages/instrumentation-mongodb#readme",
|
|
78
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "0a45ac1b951d2acd2e40834e7ae012c04820faec"
|
|
79
81
|
}
|