Skip to content

Instantly share code, notes, and snippets.

@itsderek23
Created January 17, 2018 16:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save itsderek23/08d13d4fa8fcd2a8a6a70e41351f5371 to your computer and use it in GitHub Desktop.
Save itsderek23/08d13d4fa8fcd2a8a6a70e41351f5371 to your computer and use it in GitHub Desktop.
# 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