Skip to content

Commit 5cc7064

Browse files
authored
fix(node-experimental): Fix trace origins (#8908)
1 parent 0138d1c commit 5cc7064

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/node-experimental/src/integrations/express.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export class Express extends NodePerformanceIntegration<void> implements Integra
3232
new ExpressInstrumentation({
3333
requestHook(span) {
3434
addOtelSpanData(span.spanContext().spanId, {
35-
origin: 'auto.http.otel-express',
35+
origin: 'auto.http.otel.express',
3636
});
3737
},
3838
}),

packages/node-experimental/src/integrations/fastify.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export class Fastify extends NodePerformanceIntegration<void> implements Integra
3232
new FastifyInstrumentation({
3333
requestHook(span) {
3434
addOtelSpanData(span.spanContext().spanId, {
35-
origin: 'auto.http.otel-fastify',
35+
origin: 'auto.http.otel.fastify',
3636
});
3737
},
3838
}),

packages/node-experimental/src/integrations/http.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export class Http implements Integration {
153153
},
154154
contexts: {},
155155
metadata: {},
156-
origin: 'auto.http.otel-http',
156+
origin: 'auto.http.otel.http',
157157
};
158158

159159
if (span.kind === SpanKind.SERVER) {

0 commit comments

Comments
 (0)