We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d6a80c commit a3cd3faCopy full SHA for a3cd3fa
src/core/tracing/xray.middleware.ts
@@ -36,7 +36,7 @@ export class XRayMiddleware implements NestMiddleware, NestInterceptor {
36
root.addIncomingRequestData(reqData);
37
// Use public DNS as url instead of specific IP
38
// @ts-expect-error xray library types suck
39
- root.http.request.url = this.config.hostUrl + req.originalUrl;
+ root.http.request.url = this.config.hostUrl + req.originalUrl.slice(1);
40
41
// Add to segment so interceptor can access without having to calculate again.
42
Object.defineProperty(reqData, 'traceData', {
0 commit comments