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 f064a49 commit 4d57fd6Copy full SHA for 4d57fd6
src/index.ts
@@ -26,6 +26,8 @@ async function start(): Promise<void> {
26
(services.Trace as any).setDaemonAddress(address);
27
}
28
29
+ services.Trace.captureHTTPRequests();
30
+
31
const app = (await import('./app')).default;
32
33
const server = http.createServer(app);
src/services/trace/AWSXRay.ts
@@ -5,8 +5,6 @@ import https from 'https';
5
class AWSXRay implements Services.Trace {
6
constructor (plugins: string) {
7
this.setPlugins(plugins);
8
-
9
- XRay.middleware.disableCentralizedSampling();
10
11
12
public openSegment(defaultName: string) {
0 commit comments