Enabling XRay Tracing via serverless

Hi,

I am trying to enable X-Ray tracing for both API Gateway and Lambda using the following in my serverless.yml:

 tracing:
    lambda: true
    apiGateway: true

The lambda entry works but the apiGateway option never checks the box for any stage in API gateway and I have to manually go to the stage and check the box and then redeploy.

Does this feature work, is it dependent on a particular version of serverless?

Yes, mostly. Route53 is not part of the call flow though. Your call does not go “through” Route53 Kodi nox.

Not really sure how this answers my question at all.


were you trying to enable tracing for existing deploys?