opentelemetry-lambda VS opentelemetry-js-contrib

Compare opentelemetry-lambda vs opentelemetry-js-contrib and see what are their differences.

opentelemetry-lambda

Create your own Lambda Layer in each OTel language using this starter code. Add the Lambda Layer to your Lambda Function to get tracing with OpenTelemetry. (by open-telemetry)

opentelemetry-js-contrib

OpenTelemetry instrumentation for JavaScript modules (by open-telemetry)
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
opentelemetry-lambda opentelemetry-js-contrib
8 12
331 807
3.3% 1.5%
9.3 9.5
8 days ago 4 days ago
Go TypeScript
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

opentelemetry-lambda

Posts with mentions or reviews of opentelemetry-lambda. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-12.

opentelemetry-js-contrib

Posts with mentions or reviews of opentelemetry-js-contrib. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-11-18.
  • Welcoming .NET Aspire 9.0 : Photo Summary Project
    3 projects | dev.to | 18 Nov 2024
    ... //https://www.honeycomb.io/blog/opentelemetry-browser-instrumentation //https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation-xml-http-request //https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/web/opentelemetry-instrumentation-user-interaction //https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/web/opentelemetry-instrumentation-long-task //https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/web/opentelemetry-instrumentation-long-task export default async () => { const otlpOptions = { omitted }; const attributes = { omitted } provider.addSpanProcessor(new SimpleSpanProcessor(new OTLPTraceExporter(otlpOptions))); provider.register({contextManager: new StackContextManager()}); registerInstrumentations({ instrumentations: [ getWebAutoInstrumentations({ '@opentelemetry/instrumentation-xml-http-request': { clearTimingResources: true, } }), new LongTaskInstrumentation({ observerCallback: (span, longtaskEvent) => { span.setAttribute('location.pathname', window.location.pathname) } }), new FetchInstrumentation({ propagateTraceHeaderCorsUrls: [new RegExp('\\/api\\/*')], ignoreUrls: [new RegExp('\\/tile\\/*')], })], }); ... };
  • NestJS + Opentelemetry (Loki)
    1 project | dev.to | 18 Aug 2024
  • Using Env Vars to Include & Exclude OpenTelemetry Node.js Libraries
    3 projects | dev.to | 11 Jun 2024
    To enable only @opentelemetry/instrumentation-http and @opentelemetry/instrumentation-express you can run this command below.
  • Saving Three Months of Latency with a Single OpenTelemetry Trace
    1 project | news.ycombinator.com | 7 Jun 2024
    On the noisy NodeJS auto-instrumentation, it is indeed very noisy out of the box. Myself along with a bunch of other ppl finally got the project to allow you to select the instrumentations via configuration. Saves having to create your own tracer.ts/js file.

    Here's the PR that got merged earlier in the year: https://github.com/open-telemetry/opentelemetry-js-contrib/p...

    The env var config is `OTEL_NODE_ENABLED_INSTRUMENTATIONS`

    Anyways, love Opentelemetry success stories. Been working hard on it at my current company and yielding fruits already :)

  • OpenTelemetry in 2023
    36 projects | news.ycombinator.com | 28 Aug 2023
    [2] https://github.com/open-telemetry/opentelemetry-js-contrib/t...
  • OpenTelemetry-based traces for every web page with zero code change.
    1 project | /r/OpenTelemetry | 1 Mar 2023
  • How to trace database query with OpenTelemetry and Zipkin for a Node.js app?
    1 project | /r/OpenTelemetry | 9 Nov 2022
  • How to Instrument AWS Services with OpenTelemetry
    6 projects | dev.to | 19 Sep 2022
    @opentelemetry/instrumentation-aws-lambda
  • How to solve "Cannot redefine property: handler" on AWS Lambda
    4 projects | dev.to | 6 Mar 2022
    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
    4 projects | dev.to | 11 Nov 2021
    More information about this can be found here and in the instrumentation docs.

What are some alternatives?

When comparing opentelemetry-lambda and opentelemetry-js-contrib you can also consider the following projects:

proposal-async-context - Async Context for JavaScript

aws-otel-lambda - AWS Distro for OpenTelemetry - AWS Lambda

deploy-aws-lambda-to-vpc-with-terraform - Terraform module with all the cloud resources needed to run Lambda within a VPC

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.

terraform-aws-jaeger - Terraform module for Jeager

Hoppscotch - Open source API development ecosystem.

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured