Skip to content

Commit 93e9e3f

Browse files
authored
Merge branch 'main' into xray-sampler-owners
2 parents 60fa73e + 5837997 commit 93e9e3f

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
kafkajs:
2+
- versions:
3+
include: ">=0.3.0 <3"
4+
mode: latest-minors
5+
commands: npm run test

plugins/node/instrumentation-kafkajs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ npm install --save @opentelemetry/instrumentation-kafkajs
1717

1818
### Supported versions
1919

20-
- [`kafkajs`](https://www.npmjs.com/package/kafkajs) versions `>=0.1.0 <3`
20+
- [`kafkajs`](https://www.npmjs.com/package/kafkajs) versions `>=0.3.0 <3`
2121

2222
## Usage
2323

plugins/node/instrumentation-kafkajs/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"repository": "open-telemetry/opentelemetry-js-contrib",
88
"scripts": {
99
"test": "mocha --require @opentelemetry/contrib-test-utils 'test/**/*.test.ts'",
10+
"test-all-versions": "tav",
1011
"tdd": "npm run test -- --watch-extensions ts --watch",
1112
"clean": "rimraf build/*",
1213
"lint": "eslint . --ext .ts",
@@ -52,6 +53,7 @@
5253
"nyc": "15.1.0",
5354
"rimraf": "5.0.10",
5455
"sinon": "15.2.0",
56+
"test-all-versions": "6.1.0",
5557
"typescript": "5.0.4"
5658
},
5759
"dependencies": {

plugins/node/instrumentation-kafkajs/src/instrumentation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export class KafkaJsInstrumentation extends InstrumentationBase<KafkaJsInstrumen
7171

7272
const module = new InstrumentationNodeModuleDefinition(
7373
'kafkajs',
74-
['>=0.1.0 <3'],
74+
['>=0.3.0 <3'],
7575
(moduleExports: typeof kafkaJs) => {
7676
unpatch(moduleExports);
7777
this._wrap(

plugins/node/instrumentation-tedious/tsconfig.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,7 @@
22
"extends": "../../../tsconfig.base",
33
"compilerOptions": {
44
"rootDir": ".",
5-
"outDir": "build",
6-
// When testing with tedious@18, skipLibCheck:true is needed to avoid
7-
// checking its types. They require AggregateError that is only available
8-
// with `"target": "es2022"`, which, IIUC we don't want with our regular TS
9-
// v4 build for release.
10-
"skipLibCheck": true
5+
"outDir": "build"
116
},
127
"include": [
138
"src/**/*.ts",

0 commit comments

Comments
 (0)