opentelemetry-go-contrib VS otel-example-go

Compare opentelemetry-go-contrib vs otel-example-go and see what are their differences.

opentelemetry-go-contrib

Collection of extensions for OpenTelemetry-Go. (by open-telemetry)

otel-example-go

Open Telemetry demostration. (by sosalejandro)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
opentelemetry-go-contrib otel-example-go
11 1
998 0
5.9% -
9.4 2.9
2 days ago about 2 months ago
Go Go
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-go-contrib

Posts with mentions or reviews of opentelemetry-go-contrib. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-07.
  • Open Telemetry: Observing and Monitoring Applications
    3 projects | dev.to | 7 Mar 2024
    While many programming languages provide robust support for Open Telemetry, this instance focuses on Golang. It's important to note that, in the current context, the logs SDK for Golang is not implemented. For future reference consult the list of supported languages and explore the Open Telemetry repositories. Always prioritize the main repository and its contrib repository, housing extensions and instrumentation libraries crucial to the Open Telemetry framework. Stay updated with the latest developments to ensure seamless integration and enhanced functionality.
  • [OpenTelemetry] Observability of Async Processes with Custom Propagator
    2 projects | dev.to | 22 Dec 2022
    It’s assumed that the instrumentation of each component has been completed, and the HTTP communication has also been instrumented by net/http auto instrumentation library.
  • Is it worth instrumenting with open-telemetry?
    3 projects | /r/golang | 8 Nov 2022
    Tracing, including context propagation, is easy to set up with REST or gRPC. You can instrument most important parts of your application with the contrib package. Some libraries like go-redis have their own otel features, which could be a promising trend in the future. There are some important gaps though; for example, you'll have to go third party for database/sql.
  • Go standard library: structured, leveled logging
    11 projects | news.ycombinator.com | 11 Sep 2022
    I see! Yeah, this is one where where otel-go is a lot harder to use, but it's something the SIG is looking at. A coworker of mine is helping drive a design that's sort of an "easy button" to configure all the things with the least-surprising defaults[0] and we're seeing how people like it in our SDK distribution that uses it[1]. I hope that sometime soon we'll have the design polished-up enough to get merged in. Like most OSS projects, it'll take some time but I'm confident we can get it done.

    The main challenge is that there's a large variety of use cases to fulfill (e.g., someone wants custom context propagation, a custom span processor, and export over HTTP+json but not HTTP+protobuf) and today the answer to that is that you have to pull in all the libraries for all the things you need. It's a lot more energy you need to expend to get started with all of this than it needs to be.

    As for logging support in the Go SDK, it's frozen mostly just due to lack of bandwidth and a need to finish what's already been started. Metrics have proven to be much more difficult and time-consuming to implement correctly across all languages, with Go being impacted harder than other languages (e.g., Python and .NET). I think you can expect logging integrations in the near-ish future though.

    This is great feedback. I'll pass it on folks who haven't seen it. Thank you! And please feel free to file issues about all the things that rub you the wrong way

    [0]: https://github.com/open-telemetry/opentelemetry-go-contrib/p...

    [1]: https://github.com/honeycombio/honeycomb-opentelemetry-go

  • Implementing OpenTelemetry in a Gin application
    4 projects | dev.to | 5 May 2022
    OpenTelemetry middleware for Gin
  • Upgrade OpenTelemetry Go Instrumentation Libraries in Microservices
    3 projects | dev.to | 23 Oct 2021
    OpenTelemetry is the work-in-progress merge of OpenCensus and OpenTracing. It is still in early stages as of 2021. We are using its instrumentation libraries opentelemetry-go and [opentelemetry-go-contrib]https://github.com/open-telemetry/opentelemetry-go-contrib/) for our Go services.
  • Opentelemetry in golang
    1 project | /r/golang | 20 Aug 2021
    Usually the span propagation is located in headers Here you can see an example https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/instrumentation/github.com/gin-gonic/gin/otelgin/gintrace.go
  • How to set up Golang application performance monitoring with open source monitoring tool
    4 projects | dev.to | 27 Jun 2021
    OpenTelemetry has specific instrumentation packages to support popular Golang packages and use cases. For example, this app uses the Gin framework for request routing. OpenTelemetry provides instrumentation package named otelgin to instrument the Gin framework which you need to import in your app. You can find the complete list of supported Golang packages by OpenTelemetry here.
  • SigNoz - an open-source alternative to DataDog with Go processors | v0.2.0 Released with external API and DB calls monitoring
    3 projects | /r/golang | 6 May 2021
    Hi u/brofesor, Your understanding is correct. Though the library you mentioned is not official. I found an issue in the official repo regarding this https://github.com/open-telemetry/opentelemetry-go-contrib/issues/714
  • Extending a library which is using functional options
    1 project | /r/golang | 15 Apr 2021
    Here I described all my experiments: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/746

otel-example-go

Posts with mentions or reviews of otel-example-go. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-07.

What are some alternatives?

When comparing opentelemetry-go-contrib and otel-example-go you can also consider the following projects:

opentelemetry-go - OpenTelemetry Go API and SDK

fiber-opentelemetry - OpenTelemetry trace middleware for Fiber that adds traces to requests.

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

sample-golang-app - Sample Golang app to demonstrace OpenTelemetry instrumentation

opentelemetry-specification - Specifications for OpenTelemetry

SLF4J - Simple Logging Facade for Java

jvm-serializers - Benchmark comparing serialization libraries on the JVM

microservices-demo - Sample cloud-first application with 10 microservices showcasing Kubernetes, Istio, and gRPC.

honeycomb-opentelemetry-go - Honeycomb's OpenTelemetry Go SDK distribution

batch-tracing-sample