Open pavolloffay opened 7 years ago
+1 on this, good idea. But if we do this, we need a distributed application, client -> server -> db
, at least. in order to demonstrate a cross-process propagation. And if considering multi language platforms, we need more applications.
This is a big project. 🥇 😊
We already have one, I am happy to migrate it to opentracing: https://github.com/uber/jaeger/tree/master/examples/hotrod. It has 4 micro-services, a front end, and 2 simulated databases.
But it is all in Go. I know that @adriancole uses services in multiple languages when giving talks on Zipkin, which is great but a lot more tedious to setup for someone who wants to play with the demo app. Our demo can be run with a single command go run ./main.go all
.
I think it would be beneficial to have use-case based examples. For instance, a hello-world of sorts, for those who just want to understand how the basic blocks fit together, to run after reading the intro docs. A simple Java Servlet with the framework integration from -contrib would be sufficient.
Then a second one, similar to what @yurishkuro mentioned, with a microservices use-case, more advanced but not that complex.
And finally a "show case" example, where people can use as reference for specific (advanced?) use cases, like what @pavolloffay suggested.
Hey Guys - starting somewhat simpler, @tedsuo and I are working on a turnkey tracing project for Go, Python, Java where we create a sample app with frameworks in it instrumented for OT and hooked to a tracer. The goal is to quick start a developer looking to understand tracing for his or her environment. We'll create docs around the project and make it super easy to consume. Then we will evangelize it.
If you are interested, we can have a quick chat April first week to share our vision and progress to date. Let me know!
The following microservice polyglot (java, node, vue.js, go) app example with zipkin
for traces aggregation deployable via compose & k8s might provide some inspiration (MIT license) - https://github.com/elgris/microservice-app-example
I think it would be great to have a demo app in contrib org. I have divided app goals from app requirements.
App goals:
App requirements:
The app could be deployed with docker-compose. Add more requirements/goals please.