Skip to content

Commit

Permalink
Clean up dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
parzival418 committed Jul 26, 2024
1 parent 2f4fc58 commit dd9dea5
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 52 deletions.
38 changes: 19 additions & 19 deletions instrument.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
const { initSDK } = require('@hyperdx/node-opentelemetry')
const {
BullMQInstrumentation,
} = require('@jenniferplusplus/opentelemetry-instrumentation-bullmq')
const { KnexInstrumentation } = require('@opentelemetry/instrumentation-knex')
const {
IORedisInstrumentation,
} = require('@opentelemetry/instrumentation-ioredis')
const { KoaInstrumentation } = require('@opentelemetry/instrumentation-koa')
// const { initSDK } = require('@hyperdx/node-opentelemetry')
// const {
// BullMQInstrumentation,
// } = require('@jenniferplusplus/opentelemetry-instrumentation-bullmq')
// const { KnexInstrumentation } = require('@opentelemetry/instrumentation-knex')
// const {
// IORedisInstrumentation,
// } = require('@opentelemetry/instrumentation-ioredis')
// const { KoaInstrumentation } = require('@opentelemetry/instrumentation-koa')

initSDK({
consoleCapture: true, // optional, default: true
advancedNetworkCapture: true, // optional, default: false
additionalInstrumentations: [
new BullMQInstrumentation(),
new IORedisInstrumentation(),
new KoaInstrumentation(),
new KnexInstrumentation(),
],
})
// initSDK({
// consoleCapture: true, // optional, default: true
// advancedNetworkCapture: true, // optional, default: false
// additionalInstrumentations: [
// new BullMQInstrumentation(),
// new IORedisInstrumentation(),
// new KoaInstrumentation(),
// new KnexInstrumentation(),
// ],
// })
8 changes: 0 additions & 8 deletions lerna.json

This file was deleted.

25 changes: 0 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@
"@heroicons/react": "^2.1.1",
"@hookform/resolvers": "^3.3.4",
"@hyperdx/node-opentelemetry": "^0.4.2",
"@jenniferplusplus/opentelemetry-instrumentation-bullmq": "^0.5.0",
"@keyv/postgres": "^1.4.10",
"@keyv/redis": "^2.8.0",
"@koa/cors": "4.0.0",
Expand All @@ -184,15 +183,6 @@
"@nx/devkit": "19.2.1",
"@nytimes/react-prosemirror": "^0.6.1",
"@openmeter/sdk": "^1.0.0-beta.35",
"@opentelemetry/auto-instrumentations-node": "^0.41.1",
"@opentelemetry/exporter-trace-otlp-http": "^0.48.0",
"@opentelemetry/instrumentation-ioredis": "^0.37.0",
"@opentelemetry/instrumentation-knex": "^0.33.0",
"@opentelemetry/instrumentation-koa": "^0.37.0",
"@opentelemetry/resources": "^1.21.0",
"@opentelemetry/sdk-node": "^0.48.0",
"@opentelemetry/sdk-trace-node": "^1.21.0",
"@opentelemetry/semantic-conventions": "^1.21.0",
"@panva/hkdf": "1.1.1",
"@pinecone-database/pinecone": "^2.2.1",
"@prisma/client": "^5.14.0",
Expand Down Expand Up @@ -463,21 +453,9 @@
"@semantic-release/npm": "10.0.4",
"@semantic-release/release-notes-generator": "11.0.3",
"@sindresorhus/tsconfig": "^3.0.1",
"@storybook/addon-essentials": "^7.5.3",
"@storybook/addon-interactions": "^7.5.3",
"@storybook/addon-themes": "^7.6.19",
"@storybook/core-server": "^7.5.3",
"@storybook/jest": "^0.2.3",
"@storybook/nextjs": "^7.5.3",
"@storybook/test-runner": "^0.13.0",
"@storybook/testing-library": "^0.2.2",
"@svgr/cli": "^8.1.0",
"@svgr/rollup": "8.1.0",
"@svgr/webpack": "^8.0.1",
"@swc-node/register": "~1.9.1",
"@swc/cli": "0.3.12",
"@swc/core": "~1.5.7",
"@swc/jest": "~0.2.36",
"@testing-library/react": "15.0.6",
"@trumbitta/nx-plugin-unused-deps": "1.12.1",
"@types/bcrypt": "^5.0.2",
Expand Down Expand Up @@ -541,10 +519,7 @@
"jest-environment-jsdom": "29.5.0",
"jest-environment-node": "29.5.0",
"jsdom": "22.1.0",
"lerna": "6.6.2",
"mocha": "10.2.0",
"nodemon": "2.0.22",
"nuxt": "^3.10.0",
"nx": "19.2.1",
"openapi-zod-client": "^1.18.1",
"pino-pretty": "10.0.0",
Expand Down

0 comments on commit dd9dea5

Please sign in to comment.