Skip to content

Commit d685c8a

Browse files
committed
Drop OTel-parity comments in remix tracing-channel
1 parent 368b96e commit d685c8a

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

packages/remix/src/server/integrations/tracing-channel.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ const ORIGIN = 'auto.http.orchestrion.remix';
2626

2727
const NOOP = (): void => {};
2828

29-
// `match.route.id` / `match.params.*` mirror `RemixSemanticAttributes` from the OpenTelemetry
30-
// `RemixInstrumentation` this integration replaced.
3129
const MATCH_ROUTE_ID = 'match.route.id';
3230
const MATCH_PARAMS = 'match.params';
3331

@@ -103,8 +101,7 @@ function setResponseStatus(span: Span, result: unknown): void {
103101

104102
/**
105103
* `matchServerRoutes` opens no span of its own; it enriches the enclosing request span with the
106-
* matched route (used to derive the `http.server` transaction name), mirroring the OpenTelemetry
107-
* instrumentation's patch it replaced.
104+
* matched route (used to derive the `http.server` transaction name).
108105
*/
109106
function enrichActiveSpanWithRoute(result: unknown): void {
110107
const span = getActiveSpan();

0 commit comments

Comments
 (0)