sam-martin / aws-xray-lambda-segment-shim Goto Github PK
View Code? Open in Web Editor NEWA shim which faciliates the AWS X-Ray tracing of Lambda Functions invoked by triggers which don't have native X-Ray support.
License: MIT License
A shim which faciliates the AWS X-Ray tracing of Lambda Functions invoked by triggers which don't have native X-Ray support.
License: MIT License
Hi Sam!
I am a Cloud Engineer, and related to the project I am currently working on has arisen the need to use X-Ray.
Currently we have a pool of lambdas that are invoked by SQS events.
A few of these lambdas in turn invoke via SQS the execution of other lambdas.
I was quite disheartened when I started using x-ray because the truth is that although the lambdas could be painted on the service map, the sqs could not.
After several searches I found the solution that you propose, and I have achieved that when a lambda invokes another one via intermediate SQS event it appears correctly in X-Ray.
However, of the pool of lambdas is the smallest number, most simply receive an SQS event that triggers them; I followed the tutorial but what I get are 2 isolated traces, one only traces the execution of the lambda, and the other paints the lambda with a subsegment making the SQS call.
My question is if it is possible, to have in service map the diagram as you present it in the web, that is to say, that first appears the SQS and then linked the lambda.
I don't know if you could help me in any way and guide me in this.
I attach some screenshots with what I have achieved when the SQS event is between a lambda and another; and the obtaining of the 2 isolated calls when it is a direct SQS event that calls the lambda.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.