Skip to content

Commit

Permalink
support all minor versions of v7
Browse files Browse the repository at this point in the history
  • Loading branch information
LiranBinshtok committed Dec 1, 2023
1 parent d93b7a1 commit 7bd301f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugins/node/instrumentation-mongoose/.tav.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'mongoose':
versions: ">=5.9.7 <=7.6.4"
versions: ">=5.9.7 <=8"
commands:
- npm run test
2 changes: 1 addition & 1 deletion plugins/node/instrumentation-mongoose/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ npm install --save @opentelemetry/instrumentation-mongoose

## Supported Versions

- `>=5.9.7 <=7.6.4`
- `>=5.9.7 <=8`

## Usage

Expand Down
2 changes: 1 addition & 1 deletion plugins/node/instrumentation-mongoose/src/mongoose.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export class MongooseInstrumentation extends InstrumentationBase<any> {
protected init(): InstrumentationModuleDefinition<any> {
const module = new InstrumentationNodeModuleDefinition<any>(
'mongoose',
['>=5.9.7 <=7.6.4'],
['>=5.9.7 <=8'],
this.patch.bind(this),
this.unpatch.bind(this)
);
Expand Down

0 comments on commit 7bd301f

Please sign in to comment.