Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Commit 6a5acf9

Browse files
author
Amir Blum
authored
fix(neo4j): remove instrumentation for neo4j@v5 which is not supported (#243)
* fix(neo4j): remove instrumentation for neo4j@v5 which is not supported * docs(neo4j): remove v5 support from README
1 parent 8b53a6c commit 6a5acf9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
'neo4j-driver':
2-
versions: ">=4.0.0"
2+
versions: ">=4.0.0 <5"
33
commands:
44
- yarn test

packages/instrumentation-neo4j/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-neo4j.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-neo4j)
33

44
This module provides automatic instrumentation for [`neo4j-javascript-driver`](https://github.com/neo4j/neo4j-javascript-driver).
5-
> Supports versions **>=4.0.0** of neo4j-driver
5+
> Supports versions **>=4.0.0 <5.0.0** of neo4j-driver
66
77
## Installation
88

packages/instrumentation-neo4j/src/neo4j.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export class Neo4jInstrumentation extends InstrumentationBase<Neo4J> {
2727

2828
protected init(): InstrumentationModuleDefinition<Neo4J>[] {
2929
return [
30-
this.getModuleDefinition('neo4j-driver-core', ['>=4.3.0']),
30+
this.getModuleDefinition('neo4j-driver-core', ['>=4.3.0 <5']),
3131
this.getModuleDefinition('neo4j-driver', ['>=4.0.0 <4.3.0']),
3232
];
3333
}

0 commit comments

Comments
 (0)