lib/heroku_metal.rb in oboe-heroku-0.8.0.9 vs lib/heroku_metal.rb in oboe-heroku-0.8.0.16

- old
+ new

@@ -64,11 +64,11 @@ def sample?(opts = {}) # Assure defaults since SWIG enforces Strings opts[:layer] ||= '' opts[:xtrace] ||= '' - opts['X-TV-Meta'] ||= '' - Oboe::Context.sampleRequest(opts[:layer], opts[:xtrace], opts['X-TV-Meta']) + opts['TV-Meta'] ||= '' + Oboe::Context.sampleRequest(opts[:layer], opts[:xtrace], opts['TV-Meta']) end def through? Oboe::Config[:tracing_mode] == "through" end