aws-xray-sdk-node
aws-xray-sdk-go
Our great sponsors
aws-xray-sdk-node | aws-xray-sdk-go | |
---|---|---|
4 | 1 | |
262 | 274 | |
1.1% | 1.1% | |
6.6 | 7.2 | |
10 days ago | 4 days ago | |
JavaScript | Go | |
Apache License 2.0 | Apache License 2.0 |
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
aws-xray-sdk-go
-
Serverless Spy Vs Spy Chapter 1: X-ray
When you look at the GO X-Ray SDK you can see in func initializeMiddlewareAfter(stack *middleware.Stack) how the calls to X-Ray are generated. The call to X-Ray happens in the deserialize step.
What are some alternatives?
middy - 🛵 The stylish Node.js middleware engine for AWS Lambda 🛵
tRick-benchmarks - Repository used for tecRacer created Infrastructure as Code (IaC) Framework benchmarks and IaC sourcecode
powertools-lambda-typescript - Powertools is a developer toolkit to implement Serverless best practices and increase developer velocity.
xraystarter - Getting started with AWS X-Ray
deno-lambda - A deno runtime for AWS Lambda. Deploy deno via docker, SAM, serverless, or bundle it yourself.
dazn-lambda-powertools - Powertools (logger, HTTP client, AWS clients, middlewares, patterns) for Lambda functions.
powertools-lambda
aws-embedded-metrics-node - Amazon CloudWatch Embedded Metric Format Client Library
cdk-async-testing-example
esbuild - An extremely fast bundler for the web
aws-xray-sdk-python - AWS X-Ray SDK for the Python programming language