aws-xray-sdk-node
tRick-benchmarks
Our great sponsors
aws-xray-sdk-node | tRick-benchmarks | |
---|---|---|
4 | 1 | |
262 | 6 | |
1.1% | - | |
6.6 | 0.0 | |
10 days ago | about 1 year ago | |
JavaScript | TypeScript | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
aws-xray-sdk-node
-
Serverless Spy Vs Spy Chapter 1: X-ray
You see in the node xrays sdk that each AWS service is customized with the captureAWSRequest function, which is responsible for the X-Ray calls.
-
is it best to have aws x-ray be enabled in a production environment?
Generally speaking, it is encouraged on serverless-heavy environments (assuming Lambdas, API Gateways, AppSync, DynamoDB and similar services were configured to use it). However, some crucial pieces are still missing, like a proper SQS integration. Bear that in mind.
-
First Look at Lambda Powertools TypeScript
So what do we get for that? The Tracer module wraps the AWS X-Ray SDK (as a transitive dependency). It doesn't really add any net new capabilities, but makes the SDK easier to work with. In my experience, that SDK is a bit of a bear so this may be well worth it. We can decorate class methods to introduce new trace segments in a single line of code. We can also use the imperative form to add new traces where we see fit. We can capture AWS clients, but that simply exposes the X-Ray SDK.
-
X-Ray tracing from SQS to Lambda
aws-xray-sdk-node: https://github.com/aws/aws-xray-sdk-node/issues/208
tRick-benchmarks
-
Serverless Spy Vs Spy Chapter 1: X-ray
We use a modified simple lambda application from tecRacer serverless sample application. Get the modified source for this post from github: xraystarter and leave a star :)
What are some alternatives?
middy - 🛵 The stylish Node.js middleware engine for AWS Lambda 🛵
supabase-on-aws - Self-hosted Supabase on AWS
powertools-lambda-typescript - Powertools is a developer toolkit to implement Serverless best practices and increase developer velocity.
zephyr-infra - Pulumi code to manage resources for the Zephyr series of blog posts
deno-lambda - A deno runtime for AWS Lambda. Deploy deno via docker, SAM, serverless, or bundle it yourself.
xraystarter - Getting started with AWS X-Ray
dazn-lambda-powertools - Powertools (logger, HTTP client, AWS clients, middlewares, patterns) for Lambda functions.
aws-xray-sdk-go - AWS X-Ray SDK for the Go programming language.
powertools-lambda
aws-xray-sdk-python - AWS X-Ray SDK for the Python programming language
aws-embedded-metrics-node - Amazon CloudWatch Embedded Metric Format Client Library
aws-cdk - The AWS Cloud Development Kit is a framework for defining cloud infrastructure in code