Skip to content

Commit c952df8

Browse files
committed
fix: wire in graphql instrumentation
1 parent 4d5c57a commit c952df8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/telemetry/instrumentations.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@ import { GenericPoolInstrumentation } from '@opentelemetry/instrumentation-gener
66
import { HttpInstrumentation, IgnoreIncomingRequestFunction } from '@opentelemetry/instrumentation-http';
77
import { IORedisInstrumentation } from '@opentelemetry/instrumentation-ioredis';
88
import { NetInstrumentation } from '@opentelemetry/instrumentation-net';
9+
import { GraphQLInstrumentation } from '@opentelemetry/instrumentation-graphql';
910
import { PgInstrumentation } from '@opentelemetry/instrumentation-pg';
1011
import { PinoInstrumentation } from '@opentelemetry/instrumentation-pino';
1112

1213
const InstrumentationMap = {
1314
'@opentelemetry/instrumentation-http': HttpInstrumentation,
1415
'@opentelemetry/instrumentation-dns': DnsInstrumentation,
1516
'@opentelemetry/instrumentation-express': ExpressInstrumentation,
17+
'@opentelemetry/instrumentation-graphql': GraphQLInstrumentation,
1618
'@opentelemetry/instrumentation-undici': UndiciInstrumentation,
1719
'@opentelemetry/instrumentation-generic-pool': GenericPoolInstrumentation,
1820
'@opentelemetry/instrumentation-ioredis': IORedisInstrumentation,

0 commit comments

Comments
 (0)