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
I can confirm that this plugin is no longer necessary. We've just migrated our lambda functions away from this plugin and everything still works as before.
Migration guide
Turns out this is pretty simple. You just need to remove serverless-plugin-tracing from your dependencies and make a few changes to your serverless config.
Serverless config changes
From the plugins list remove serverless-plugin-tracing
plugins:
- - serverless-plugin-tracing
Replace provider.tracing: true with provider.tracing.lambda: true
provider:
- tracing: true+ tracing:+ lambda: true
Note: if you enabled or disabled tracing based on an environment variable, you will need to use strToBool to convert it to a boolean value now. e.g.:
In release v1.40 the Serverless Framework included support for lambda X-Ray tracing (https://serverless.com/blog/framework-release-v140/) and subsequently in v1.41 also incorporated API Gateway tracing support (https://serverless.com/blog/framework-release-v141/).
Do these SLS releases supersede this plugin, or are there any benefits/implementation advantages of using this plugin over the native features?
The text was updated successfully, but these errors were encountered: