You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Neo4j would like to be able to track more information about driver apis usage, so that smarter decisions can be made on improving drivers and their stack.
The collection of metrics must be respectful of users. Thus, the collected metrics are:
1. impossible to be tied back the customer or user
1. transparent to the users that inspect
1. restrained to required metrics
The metric collection is disabled by default in Neo4j. It can be enabled in the server by setting `server.bolt.telemetry.enabled` to `true`.
However, the metric collection is enabled by default in the drivers. It can be disabled in the driver by configuring the driver with `telemetryDisabled` to `true`. Default: `false`.
**Metrics are only collected when enabled both in server and driver instances.**
Disabling metrics on driver:
```typescript
const driver = neo4j.driver(
'neo4j://localhost:7687', neo4j.auth.basic('neo4j', 'password'), { telemetryDisabled: true })
```
Co-authored-by: Robsdedude <dev@rouvenbauer.de>
Copy file name to clipboardExpand all lines: packages/bolt-connection/test/bolt/__snapshots__/bolt-protocol-v1.test.js.snap
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
-
exports[`#unit BoltProtocolV1 .packable() should pack not pack graph types (Node) 1`] =`"It is not allowed to pass nodes in query parameters, given: (c:a {a:"b"})"`;
3
+
exports[`#unit BoltProtocolV1 .packable() should resultant function not pack graph types (Node) 1`] =`"It is not allowed to pass nodes in query parameters, given: (c:a {a:"b"})"`;
4
4
5
-
exports[`#unit BoltProtocolV1 .packable() should pack not pack graph types (Path) 1`] =`"It is not allowed to pass paths in query parameters, given: [object Object]"`;
5
+
exports[`#unit BoltProtocolV1 .packable() should resultant function not pack graph types (Path) 1`] =`"It is not allowed to pass paths in query parameters, given: [object Object]"`;
6
6
7
-
exports[`#unit BoltProtocolV1 .packable() should pack not pack graph types (Relationship) 1`] =`"It is not allowed to pass relationships in query parameters, given: (e)-[:a {b:"c"}]->(f)"`;
7
+
exports[`#unit BoltProtocolV1 .packable() should resultant function not pack graph types (Relationship) 1`] =`"It is not allowed to pass relationships in query parameters, given: (e)-[:a {b:"c"}]->(f)"`;
8
8
9
-
exports[`#unit BoltProtocolV1 .packable() should pack not pack graph types (UnboundRelationship) 1`] =`"It is not allowed to pass unbound relationships in query parameters, given: -[:a {b:"c"}]->"`;
9
+
exports[`#unit BoltProtocolV1 .packable() should resultant function not pack graph types (UnboundRelationship) 1`] =`"It is not allowed to pass unbound relationships in query parameters, given: -[:a {b:"c"}]->"`;
10
10
11
11
exports[`#unit BoltProtocolV1 .packable() should pack types introduced afterwards as Map (Date) 1`] =`
Copy file name to clipboardExpand all lines: packages/bolt-connection/test/bolt/__snapshots__/bolt-protocol-v2.test.js.snap
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
-
exports[`#unit BoltProtocolV2 .packable() should pack not pack graph types (Node) 1`] =`"It is not allowed to pass nodes in query parameters, given: (c:a {a:"b"})"`;
3
+
exports[`#unit BoltProtocolV2 .packable() should resultant function not pack graph types (Node) 1`] =`"It is not allowed to pass nodes in query parameters, given: (c:a {a:"b"})"`;
4
4
5
-
exports[`#unit BoltProtocolV2 .packable() should pack not pack graph types (Path) 1`] =`"It is not allowed to pass paths in query parameters, given: [object Object]"`;
5
+
exports[`#unit BoltProtocolV2 .packable() should resultant function not pack graph types (Path) 1`] =`"It is not allowed to pass paths in query parameters, given: [object Object]"`;
6
6
7
-
exports[`#unit BoltProtocolV2 .packable() should pack not pack graph types (Relationship) 1`] =`"It is not allowed to pass relationships in query parameters, given: (e)-[:a {b:"c"}]->(f)"`;
7
+
exports[`#unit BoltProtocolV2 .packable() should resultant function not pack graph types (Relationship) 1`] =`"It is not allowed to pass relationships in query parameters, given: (e)-[:a {b:"c"}]->(f)"`;
8
8
9
-
exports[`#unit BoltProtocolV2 .packable() should pack not pack graph types (UnboundRelationship) 1`] =`"It is not allowed to pass unbound relationships in query parameters, given: -[:a {b:"c"}]->"`;
9
+
exports[`#unit BoltProtocolV2 .packable() should resultant function not pack graph types (UnboundRelationship) 1`] =`"It is not allowed to pass unbound relationships in query parameters, given: -[:a {b:"c"}]->"`;
10
10
11
11
exports[`#unit BoltProtocolV2 .unpack() should not unpack with wrong size (Date with less fields) 1`] =`"Wrong struct size for Date, expected 1 but was 0"`;
0 commit comments