opentelemetry-go-contrib VS microservices-demo

Compare opentelemetry-go-contrib vs microservices-demo and see what are their differences.

opentelemetry-go-contrib

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

microservices-demo

Sample cloud-first application with 10 microservices showcasing Kubernetes, Istio, and gRPC. (by GoogleCloudPlatform)
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 microservices-demo
11 31
998 15,777
5.9% 2.1%
9.4 9.7
2 days ago 2 days ago
Go Go
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-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

microservices-demo

Posts with mentions or reviews of microservices-demo. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-30.
  • Small non complicated apps for k8s demo
    1 project | /r/kubernetes | 8 Dec 2023
    You can check https://github.com/GoogleCloudPlatform/microservices-demo for Kubernetes show-casing
  • Jump into Microservices Testing with Docker Compose and Skyramp
    3 projects | dev.to | 30 Nov 2023
    Skyramp provides a sample project, sample-microservices, which serves as an excellent starting point for demonstrating testing and mocking with a full-featured distributed application. The application is based on Google's Online Boutique repo, which is an e-commerce store consisting of 11 different microservices. The docker-compose-demo branch referenced above showcases how Skyramp can be seamlessly integrated with Docker Compose for testing microservices with no local setup required. You can also clone the repository and explore the structure of the microservices setup for your own purposes.
  • Turbocharge Your Debugging with Skyramp's Hot Code Reload
    3 projects | dev.to | 20 Oct 2023
    Our starting point is the hot-code-reload-demo branch in Skyramp's letsramp/sample-microservices GitHub repo. You can use your browser to navigate to the correct branch in the repo here. The sample-microservices repo contains a demo project based on GCP's Online Boutique with added support for REST and Thrift APIs. This sample e-commerce application is perfect for demonstrating cloud-native development and testing, including debugging with Hot Code Reload with Skyramp.
  • Testing Microservices with Skyramp in IntelliJ IDEA
    3 projects | dev.to | 8 Sep 2023
    This blog features the Skyramp fork of Google’s popular cloud-native microservices demo app, Online Boutique. Online Boutique is a web-based e-commerce app containing microservices that mimic real-world services, such as a product catalog, shopping cart, ad service, recommendation service, payment service, and others. The services use gRPC APIs by default, but Skyramp has also added support for REST and Thrift APIs.
  • I'm looking for a homelab partner!
    1 project | /r/homelab | 30 Apr 2023
    I'm planning to host this application: Google Microservices Demo (It's an online shop)
  • [P] Machine Learning Threat Detection in k8s
    2 projects | /r/MachineLearning | 24 Jan 2023
    Well, what is considered "real" data here? Why couldn't you simply set up a managed k8s cluster with some prometheus monitoring and run the microservices-demo on it. There is even a synthetic load generator. You could purposefully add in specific kinds of faults into the working system, ones that are supported in metasploit so you can automate intrusions. Consider some goals for gaining access like: exfiltration, denial of service, ransomware. Then consider how you might detect such attacks purely from what you can read out of the prometheus time series data (eg. high egress traffic plus high req/s to redis might mean an exfiltration).
  • Keep Calm! Kubernetes Cluster!! with helm file
    4 projects | dev.to | 25 Dec 2022
    The microservices source code repository for this project is from this link; google-microservices-demo, containing 11 services we will deploy with this demo. Also, from the same repo, it was illustrated and visualized how these services are connected to each other including a 3rd party service for database - redis. Among the services, Frontend serves as an entrypoint for all the services receiving external requests from the browser. Meanwhile, the load generator deployment is optional, so in this demo we wouldn't bother deploying it.
  • How to organize monorepo for microservices?
    1 project | /r/golang | 18 Nov 2022
    This demo repo might be a good starting point: https://github.com/GoogleCloudPlatform/microservices-demo
  • Microservice Communication
    4 projects | /r/golang | 17 Nov 2022
    OpenAPI and possibly developing reusable, versioned client libraries could help, but it's a major undertaking that gRPC makes redundant. I'd be tempted to use grpc-gateway even if I had to implement a REST API. Try looking into buf and monorepo structures for proto management, e.g. something like GoogleCloudPlatform/microservices-demo. For more thorough proto and grpc-gateway definition examples, see googleapis/googleapis.
  • Is it worth instrumenting with open-telemetry?
    3 projects | /r/golang | 8 Nov 2022
    I also just discovered Google Cloud's microservices-demo repository, which has some samples of how to set up otel observability and GCP-specific Go profiling on GCP. I wish I'd found it before setting up otel myself.

What are some alternatives?

When comparing opentelemetry-go-contrib and microservices-demo you can also consider the following projects:

opentelemetry-go - OpenTelemetry Go API and SDK

argocd-example-apps - Example Apps to Demonstrate Argo CD

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

bank-of-anthos - Retail banking sample application showcasing Kubernetes and Google Cloud

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

devtron - Tool integration platform for Kubernetes

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

flyte - Scalable and flexible workflow orchestration platform that seamlessly unifies data, ML and analytics stacks.

opentelemetry-specification - Specifications for OpenTelemetry

example-helm-go-microservice - Example Go microservice with Helm chart

SLF4J - Simple Logging Facade for Java

truenas-csp - TrueNAS Container Storage Provider for HPE CSI Driver for Kubernetes