aws-otel-lambda
opentelemetry-js-contrib
Our great sponsors
aws-otel-lambda | opentelemetry-js-contrib | |
---|---|---|
4 | 8 | |
133 | 597 | |
10.5% | 4.7% | |
8.9 | 9.5 | |
10 days ago | 3 days ago | |
HCL | TypeScript | |
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-otel-lambda
-
OpenTelemetry in 2023
OpenTelemetry is being pushed as a replacement for AWS X-Ray SDKs by AWS, but it's in such a broken state for Lambda right now. A 200-500% performance penalty for using it is insane[1][2].
[1]: https://github.com/aws-observability/aws-otel-lambda/issues/...
-
Serverless Spy Vs. Spy Chapter 2: AWS Distro for OpenTelemetry Lambda vs X-Ray SDK
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 😉 .
-
Struggling to connect the dots - ADOT with Lambda using aws-otel-nodejs Lambda layer, not sure how to go from here to using custom instrumentation (e.g. instrumentation-pg, instrumentation-graphql, etc).
Sorry you're having trouble working with the ADOT Lambda Layers :(. Have you had a chance to open an issue on the GitHub repo for OTel Lambda or ADOT Lambda? You should add your expected vs your actual output!
-
How to solve "Cannot redefine property: handler" on AWS Lambda
Shimmer is a monkeypatching library that a telemetry extension for AWS Lambda was using.
opentelemetry-js-contrib
-
OpenTelemetry in 2023
[2] https://github.com/open-telemetry/opentelemetry-js-contrib/t...
- OpenTelemetry-based traces for every web page with zero code change.
- How to trace database query with OpenTelemetry and Zipkin for a Node.js app?
-
How to Instrument AWS Services with OpenTelemetry
@opentelemetry/instrumentation-aws-lambda
-
How to solve "Cannot redefine property: handler" on AWS Lambda
As suggested in both opentelemetry-js-contrib and aws-otel-lambda issues, the solution is changing ES6 export to CommonJS module.exports.
-
How To Use OpenTelemetry With AWS Lambda
More information about this can be found here and in the instrumentation docs.
-
GraphQL - Diving Deep
Opentelemetry has recently made support for GraphQL available. You can find it here
-
The Stack #3
Now, the exciting thing is that there is now a reference implementation to the same using GraphQL which you can find here and also an example to help you out with the same here
What are some alternatives?
signoz - SigNoz is an open-source observability platform native to OpenTelemetry with logs, traces and metrics in a single application. An open-source alternative to DataDog, NewRelic, etc. 🔥 🖥. 👉 Open source Application Performance Monitoring (APM) & Observability tool
apollo-server - 🌍 Spec-compliant and production ready JavaScript GraphQL server that lets you develop in a schema-first way. Built for Express, Connect, Hapi, Koa, and more.
b3-propagation - Repository that describes and sometimes implements B3 propagation
mercurius - Implement GraphQL servers and gateways with Fastify
zipkin-api - Zipkin's language independent model and HTTP Api Definitions
Hasura - Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.
skywalking - APM, Application Performance Monitoring System
react-relay - Relay is a JavaScript framework for building data-driven React applications.
aws-otel-js - AWS Distro for OpenTelemetry JavaScript SDK
Postwoman - 👽 Open source API development ecosystem - https://hoppscotch.io
terraform-aws-jaeger - Terraform module for Jeager
graphql-tools - :wrench: Utility library for GraphQL to build, stitch and mock GraphQL schemas in the SDL-first approach