Skip to content

Commit 4d57fd6

Browse files
committed
Fix typos and add missing configuration
1 parent f064a49 commit 4d57fd6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ async function start(): Promise<void> {
2626
(services.Trace as any).setDaemonAddress(address);
2727
}
2828

29+
services.Trace.captureHTTPRequests();
30+
2931
const app = (await import('./app')).default;
3032

3133
const server = http.createServer(app);

src/services/trace/AWSXRay.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ import https from 'https';
55
class AWSXRay implements Services.Trace {
66
constructor (plugins: string) {
77
this.setPlugins(plugins);
8-
9-
XRay.middleware.disableCentralizedSampling();
108
}
119

1210
public openSegment(defaultName: string) {

0 commit comments

Comments
 (0)