Skip to content

5u5iu5/opentracing_spark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenTracing demo and training.

The main goal is to understand how to works OpenTracing with a couple of simple Spark core microservices.

Simple Flow

Easy diagram

sequenceDiagram
SimpleGrettings ->> ComplexGrettings: Hello <requested name>
ComplexGrettings-->>SimpleGrettings: And Welcome <requested name>
Loading

Things that you need

Docker, of course

For this training I'm using jaeger, but you have more options: http://opentracing.io/documentation/pages/supported-tracers

docker run -d -p 5775:5775/udp -p 16686:16686 jaegertracing/all-in-one:latest

Install artifacts from parent project as follow :

mvn clean install

Running microservices

The next steep is up docker containers

docker-compose up

You need to do the request.

For example:

curl http://localhost:8080/hello/Arya

You can check the result opening http://localhost:16686/ and see the simple traces in Jaeger UI.

About

Opentracing example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages