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

Commit c5e6027

Browse files
committed
fix: use storageplugin as base class
1 parent bc6235c commit c5e6027

File tree

1 file changed

+4
-2
lines changed
  • packages/datadog-plugin-neo4j/src

1 file changed

+4
-2
lines changed

packages/datadog-plugin-neo4j/src/index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
'use strict'
22

3-
const Plugin = require('../../dd-trace/src/plugins/plugin')
3+
const StoragePlugin = require('../../dd-trace/src/plugins/storage')
44
const { storage } = require('../../datadog-core')
55
const analyticsSampler = require('../../dd-trace/src/analytics_sampler')
66

7-
class Neo4jPlugin extends Plugin {
7+
class Neo4jPlugin extends StoragePlugin {
8+
static get id () { return 'neo4j' }
9+
static get system () { return 'neo4j' }
810
static get name () {
911
return 'neo4j'
1012
}

0 commit comments

Comments
 (0)