Skip to content

Commit 4f8afa8

Browse files
committed
fix: propagate tracing context headers
1 parent 6d4e147 commit 4f8afa8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

instrumentation.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,10 @@ import { registerOTel } from '@vercel/otel'
33
export function register() {
44
registerOTel({
55
serviceName: 'librarease-next',
6+
instrumentationConfig: {
7+
fetch: {
8+
propagateContextUrls: [process.env.API_URL!],
9+
},
10+
},
611
})
712
}

0 commit comments

Comments
 (0)