Skip to content

Commit

Permalink
Remove logging of the URL on every request
Browse files Browse the repository at this point in the history
This has been bugging me for a while, finally spent some time to figure out where its coming from πŸ˜…
  • Loading branch information
jamesbirtles authored Aug 19, 2024
1 parent 0e928af commit 0277015
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ export function withOpenTelemetry(fn: Handle, opts?: TraceOptions): Handle {
}
}
const url = new URL(args.event.request.url);
console.log(url)
return tracer.startActiveSpan(name, {
// SpanKind.SERVER -> 1
kind: 1,
Expand Down Expand Up @@ -99,4 +98,4 @@ export function withOpenTelemetry(fn: Handle, opts?: TraceOptions): Handle {
return res;
});
};
}
}

0 comments on commit 0277015

Please sign in to comment.