From ce6b3765a2d31b9b90b7a1435e7180b91cba57b3 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 28 Jul 2022 10:56:05 +0200 Subject: Add more tracing --- server/lib/opentelemetry/tracing.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'server/lib/opentelemetry/tracing.ts') 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 @@ +import { SequelizeInstrumentation } from 'opentelemetry-instrumentation-sequelize' import { diag, DiagLogLevel, trace } from '@opentelemetry/api' import { JaegerExporter } from '@opentelemetry/exporter-jaeger' import { registerInstrumentations } from '@opentelemetry/instrumentation' @@ -60,7 +61,8 @@ function registerOpentelemetryTracing () { return [ cmdName, ...cmdArgs ].join(' ') } }), - new FsInstrumentation() + new FsInstrumentation(), + new SequelizeInstrumentation() ] }) -- cgit v1.2.3