Created
January 17, 2018 16:50
-
-
Save itsderek23/08d13d4fa8fcd2a8a6a70e41351f5371 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To run: ruby hello.rb | |
require 'sinatra' | |
require 'opentracing' | |
require 'jaeger/client' | |
require 'rack/tracer' | |
OpenTracing.global_tracer = Jaeger::Client.build(service_name: 'hello') | |
use Rack::Tracer | |
get '/' do | |
'Hello' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment