tabdulradi / puretracing

opentracing for pure applications
Apache License 2.0
17 stars 6 forks source link

Pure Tracing

A POC to provide an opentracing equivalent standard for pure applications. This repo contains the proposed interfaces, cats implementation, and few example applications.

Run the examples

sbt examplePrintlnTracing/run

This runs application with dummy println-based backed, just to see how the context get's propagated.

If you want see a more involved example, run the open tracing example, but first we need Jaeger instance running

docker run -d --name jaeger \
  -e COLLECTOR_ZIPKIN_HTTP_PORT=9411 \
  -p 5775:5775/udp \
  -p 6831:6831/udp \
  -p 6832:6832/udp \
  -p 5778:5778 \
  -p 16686:16686 \
  -p 14268:14268 \
  -p 9411:9411 \
  jaegertracing/all-in-one:1.8

then

sbt exampleOpenTracing/run

once the program finished, navigate to localhost:16686, then from the first drop down menu select "pure-application", then click find traces.

Todo

Proposal highlights