forked from Oneirocom/Magick
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstrument.js
More file actions
20 lines (19 loc) · 753 Bytes
/
instrument.js
File metadata and controls
20 lines (19 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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')
// initSDK({
// consoleCapture: true, // optional, default: true
// advancedNetworkCapture: true, // optional, default: false
// additionalInstrumentations: [
// new BullMQInstrumentation(),
// new IORedisInstrumentation(),
// new KoaInstrumentation(),
// new KnexInstrumentation(),
// ],
// })