aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/opentelemetry/tracing.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/opentelemetry/tracing.ts')
-rw-r--r--server/lib/opentelemetry/tracing.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/opentelemetry/tracing.ts b/server/lib/opentelemetry/tracing.ts
index b1c3bd173..9a81680b2 100644
--- a/server/lib/opentelemetry/tracing.ts
+++ b/server/lib/opentelemetry/tracing.ts
@@ -6,8 +6,8 @@ import { DnsInstrumentation } from '@opentelemetry/instrumentation-dns'
6import { ExpressInstrumentation } from '@opentelemetry/instrumentation-express' 6import { ExpressInstrumentation } from '@opentelemetry/instrumentation-express'
7import FsInstrumentation from '@opentelemetry/instrumentation-fs' 7import FsInstrumentation from '@opentelemetry/instrumentation-fs'
8import { HttpInstrumentation } from '@opentelemetry/instrumentation-http' 8import { HttpInstrumentation } from '@opentelemetry/instrumentation-http'
9import { IORedisInstrumentation } from '@opentelemetry/instrumentation-ioredis'
9import { PgInstrumentation } from '@opentelemetry/instrumentation-pg' 10import { PgInstrumentation } from '@opentelemetry/instrumentation-pg'
10import { RedisInstrumentation } from '@opentelemetry/instrumentation-redis-4'
11import { Resource } from '@opentelemetry/resources' 11import { Resource } from '@opentelemetry/resources'
12import { BatchSpanProcessor } from '@opentelemetry/sdk-trace-base' 12import { BatchSpanProcessor } from '@opentelemetry/sdk-trace-base'
13import { NodeTracerProvider } from '@opentelemetry/sdk-trace-node' 13import { NodeTracerProvider } from '@opentelemetry/sdk-trace-node'
@@ -58,7 +58,7 @@ function registerOpentelemetryTracing () {
58 new DnsInstrumentation(), 58 new DnsInstrumentation(),
59 new HttpInstrumentation(), 59 new HttpInstrumentation(),
60 new ExpressInstrumentation(), 60 new ExpressInstrumentation(),
61 new RedisInstrumentation({ 61 new IORedisInstrumentation({
62 dbStatementSerializer: function (cmdName, cmdArgs) { 62 dbStatementSerializer: function (cmdName, cmdArgs) {
63 return [ cmdName, ...cmdArgs ].join(' ') 63 return [ cmdName, ...cmdArgs ].join(' ')
64 } 64 }