aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/opentelemetry
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/opentelemetry')
-rw-r--r--server/lib/opentelemetry/tracing.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/lib/opentelemetry/tracing.ts b/server/lib/opentelemetry/tracing.ts
index 23764e9e4..252a3b664 100644
--- a/server/lib/opentelemetry/tracing.ts
+++ b/server/lib/opentelemetry/tracing.ts
@@ -1,3 +1,4 @@
1import { SequelizeInstrumentation } from 'opentelemetry-instrumentation-sequelize'
1import { diag, DiagLogLevel, trace } from '@opentelemetry/api' 2import { diag, DiagLogLevel, trace } from '@opentelemetry/api'
2import { JaegerExporter } from '@opentelemetry/exporter-jaeger' 3import { JaegerExporter } from '@opentelemetry/exporter-jaeger'
3import { registerInstrumentations } from '@opentelemetry/instrumentation' 4import { registerInstrumentations } from '@opentelemetry/instrumentation'
@@ -60,7 +61,8 @@ function registerOpentelemetryTracing () {
60 return [ cmdName, ...cmdArgs ].join(' ') 61 return [ cmdName, ...cmdArgs ].join(' ')
61 } 62 }
62 }), 63 }),
63 new FsInstrumentation() 64 new FsInstrumentation(),
65 new SequelizeInstrumentation()
64 ] 66 ]
65 }) 67 })
66 68