diff --git a/plugins/node/instrumentation-mongoose/.tav.yml b/plugins/node/instrumentation-mongoose/.tav.yml index 505cf7b4fb..ae5c2937f5 100644 --- a/plugins/node/instrumentation-mongoose/.tav.yml +++ b/plugins/node/instrumentation-mongoose/.tav.yml @@ -1,4 +1,4 @@ 'mongoose': - versions: ">=5.9.7 <=7.6.4" + versions: ">=5.9.7 <=8" commands: - npm run test diff --git a/plugins/node/instrumentation-mongoose/README.md b/plugins/node/instrumentation-mongoose/README.md index 2abe093ce7..975cd74f8b 100644 --- a/plugins/node/instrumentation-mongoose/README.md +++ b/plugins/node/instrumentation-mongoose/README.md @@ -17,7 +17,7 @@ npm install --save @opentelemetry/instrumentation-mongoose ## Supported Versions -- `>=5.9.7 <=7.6.4` +- `>=5.9.7 <=8` ## Usage diff --git a/plugins/node/instrumentation-mongoose/src/mongoose.ts b/plugins/node/instrumentation-mongoose/src/mongoose.ts index 14ce4d94a9..cd4f85e48a 100644 --- a/plugins/node/instrumentation-mongoose/src/mongoose.ts +++ b/plugins/node/instrumentation-mongoose/src/mongoose.ts @@ -77,7 +77,7 @@ export class MongooseInstrumentation extends InstrumentationBase { protected init(): InstrumentationModuleDefinition { const module = new InstrumentationNodeModuleDefinition( 'mongoose', - ['>=5.9.7 <=7.6.4'], + ['>=5.9.7 <=8'], this.patch.bind(this), this.unpatch.bind(this) );