diff options
Diffstat (limited to 'server/lib/opentelemetry')
-rw-r--r-- | server/lib/opentelemetry/tracing.ts | 4 |
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 @@ | |||
1 | import { SequelizeInstrumentation } from 'opentelemetry-instrumentation-sequelize' | ||
1 | import { diag, DiagLogLevel, trace } from '@opentelemetry/api' | 2 | import { diag, DiagLogLevel, trace } from '@opentelemetry/api' |
2 | import { JaegerExporter } from '@opentelemetry/exporter-jaeger' | 3 | import { JaegerExporter } from '@opentelemetry/exporter-jaeger' |
3 | import { registerInstrumentations } from '@opentelemetry/instrumentation' | 4 | import { 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 | ||