Skip to content

Commit

Permalink
SBERDOMA-104 add dd trace
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitreee committed Apr 14, 2021
1 parent bc27580 commit 7291de3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/condo/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ const { EmptyApp } = require('@core/keystone/test.utils')
const { prepareDefaultKeystoneConfig } = require('@core/keystone/setup.utils')
const { registerSchemas } = require('@core/keystone/schema')

require('dd-trace').init({
logInjection: true,
})

const keystone = new Keystone({
...prepareDefaultKeystoneConfig(conf),
onConnect: async () => {
Expand Down
1 change: 1 addition & 0 deletions apps/condo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"bull-repl": "^0.26.3",
"classnames": "^2.2.6",
"date-fns": "^2.20.1",
"dd-trace": "^0.32.0",
"emotion": "^10.0.27",
"emotion-server": "^10.0.27",
"express": "^4.17.1",
Expand Down

0 comments on commit 7291de3

Please sign in to comment.