From 262e18b449c85a02c6df375352770f2df57f34a3 Mon Sep 17 00:00:00 2001 From: Pavol Loffay Date: Wed, 30 Nov 2016 15:38:43 +0100 Subject: [PATCH] Add bin. annotation http.path for every request --- lib/zipkin-tracer/rack/zipkin-tracer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/zipkin-tracer/rack/zipkin-tracer.rb b/lib/zipkin-tracer/rack/zipkin-tracer.rb index 4686cb6..f153775 100644 --- a/lib/zipkin-tracer/rack/zipkin-tracer.rb +++ b/lib/zipkin-tracer/rack/zipkin-tracer.rb @@ -53,7 +53,7 @@ def annotate_plugin(env, status, response_headers, response_body) def trace!(span, zipkin_env, &block) # if called by a service, the caller already added the information - trace_request_information(span, zipkin_env.env) unless zipkin_env.called_with_zipkin_headers? + trace_request_information(span, zipkin_env.env) span.record(Trace::Annotation::SERVER_RECV) span.record('whitelisted') if zipkin_env.force_sample? status, headers, body = yield