diff --git a/zipkin-gems/zipkin-tracer/lib/zipkin-tracer.rb b/zipkin-gems/zipkin-tracer/lib/zipkin-tracer.rb index 08f8a341abe..97942c596d8 100644 --- a/zipkin-gems/zipkin-tracer/lib/zipkin-tracer.rb +++ b/zipkin-gems/zipkin-tracer/lib/zipkin-tracer.rb @@ -53,7 +53,7 @@ def initialize(app) end def call(env) - id = ::Trace::TraceId.new(::Trace.generate_id, nil, ::Trace.generate_id, true) + id = ::Trace::TraceId.new(::Trace.generate_id, nil, ::Trace.generate_id, true, ::Trace::Flags::EMPTY) ::Trace.default_endpoint = ::Trace.default_endpoint.with_service_name(@service_name).with_port(@service_port) ::Trace.sample_rate=(@sample_rate) tracing_filter(id, env) { @app.call(env) } diff --git a/zipkin-gems/zipkin-tracer/lib/zipkin-tracer/version.rb b/zipkin-gems/zipkin-tracer/lib/zipkin-tracer/version.rb index 3fddafa0558..08570c30ca0 100644 --- a/zipkin-gems/zipkin-tracer/lib/zipkin-tracer/version.rb +++ b/zipkin-gems/zipkin-tracer/lib/zipkin-tracer/version.rb @@ -12,6 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. module ZipkinTracer - VERSION = "0.0.1" + VERSION = "0.1.0" end diff --git a/zipkin-gems/zipkin-tracer/zipkin-tracer-0.1.0.gem b/zipkin-gems/zipkin-tracer/zipkin-tracer-0.1.0.gem new file mode 100644 index 00000000000..0dabd8982e8 Binary files /dev/null and b/zipkin-gems/zipkin-tracer/zipkin-tracer-0.1.0.gem differ diff --git a/zipkin-gems/zipkin-tracer/zipkin-tracer.gemspec b/zipkin-gems/zipkin-tracer/zipkin-tracer.gemspec index 8d76b9548ba..8afb09bbb36 100644 --- a/zipkin-gems/zipkin-tracer/zipkin-tracer.gemspec +++ b/zipkin-gems/zipkin-tracer/zipkin-tracer.gemspec @@ -31,6 +31,6 @@ Gem::Specification.new do |s| s.files = Dir.glob("{bin,lib}/**/*") s.require_path = 'lib' - s.add_dependency "finagle-thrift", "~> 1.2.0" + s.add_dependency "finagle-thrift", "~> 1.3.0" s.add_dependency "scribe", "~> 0.2.4" end