You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Use the middleware by passing the Tracer instance as a parameter
98
-
.use(captureLambdaHandler(tracer,{captureResponse: false}));// by default the tracer would add the response as metadata on the segment, but there is a chance to hit the 64kb segment size limit. Therefore set captureResponse: false
109
+
.use(captureLambdaHandler(tracer,{captureResponse: false}));// by default the tracer would add the response as metadata on the segment, but there is a chance to hit the 64kb segment size limit. Therefore set captureResponse: false
@@ -22,7 +26,6 @@ import { default as request } from 'phin';
22
26
*/
23
27
24
28
classLambdaimplementsLambdaInterface{
25
-
26
29
@tracer.captureMethod()
27
30
publicasyncgetUuid(): Promise<string>{
28
31
// Request a sample random uuid from a webservice
@@ -37,11 +40,18 @@ class Lambda implements LambdaInterface {
37
40
38
41
@tracer.captureLambdaHandler({captureResponse: false})// by default the tracer would add the response as metadata on the segment, but there is a chance to hit the 64kb segment size limit. Therefore set captureResponse: false
0 commit comments