arc-plugin-add-xray
AWS "X-Ray Tracing" for Lambdas deployed with Architect.
Usage
npm i -D arc-plugin-add-xray
@plugins
arc-plugin-add-xray
@xray
environments staging production
http
scheduled
To enable X-Ray Tracing in individual functions add xray true
to a function's config.arc
:
@aws
xray true
ℹ️ To enable X-Ray Tracing for ALL Lambda functions, do not set a pragma in app.arc
's @xray
or set xray true
in a config.arc
.
environments
can be still be set under @xray
in app.arc
.
Resources
Lambda X-Ray Tracing Docs
X-Ray Pricing -- X-Ray Tracers beware: it's not free, but it is cheap.