🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

arc-plugin-add-xray

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arc-plugin-add-xray

Architect 10+ plugin for adding X-Ray Tracing to Lambda functions.

0.2.0
latest
Source
npm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

arc-plugin-add-xray

AWS "X-Ray Tracing" for Lambdas deployed with Architect.

Usage

npm i -D arc-plugin-add-xray
# ... in your app.arc

@plugins
arc-plugin-add-xray # enable "@xray"

@xray
environments staging production # defaults to only staging
http # add X-Ray to all @http functions
scheduled # can be any Lambda pragma

To enable X-Ray Tracing in individual functions add xray true to a function's config.arc:

# ./src/events/foobar

@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.

FAQs

Package last updated on 30 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts