-
The documentation for Lambda gives example code for the different languages. To shorten the long way from example code to running code, I will show you ready-to-run CDK code for Python, Node and GO with a serverless architecture. With Lambda, we are using the AWS X-Ray exporter in the collector. If you want to build your own layer, clone the repo AWS-managed OpenTelemetry Lambda Layers. To do that, learn GO here. You might know the creator of the site đŸ˜‰ .
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
opentelemetry-lambda
Create your own Lambda Layer in each OTel language using this starter code. Add the Lambda Layer to your Lamdba Function to get tracing with OpenTelemetry.
opentelemetry-lambda
-
Building you GO lambda with ADOT you might note an error, indicated in the X-Ray map. This is fixed in the example code.
-
Assuming node, cdk ,python, go and task are installed. Also you need docker or colima
-
In the AWS-only world, X-Ray is the tracing service to use. But with X-Ray, it is impossible to send traces to other collectors. So the ADOT allows you to use X-Ray as tracing or backends like Jaeger. To use ADOT with Lambda, the ADOT-Lambda Layer comes with a standard configuration for X-Ray.
-
Assuming node, cdk ,python, go and task are installed. Also you need docker or colima
Related posts
-
Serverless Spy Vs. Spy Chapter 3: X-Ray vs Jaeger - Send Lambda traces with open telemetry
-
What is O11y? Guide to Modern Observability
-
AI Copilot for Data Analysis
-
Desbloqueie a Observabilidade: Guia prĂ¡tico com OpenTelemetry e Prometheus
-
How we made applications observable by default with OpenTelemetry