faraday-tracer 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/faraday-tracer.gemspec +1 -1
- data/lib/faraday/tracer.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae6dcab020ac2b6661747ccd2bc925a2835c423e
|
4
|
+
data.tar.gz: ddc7209f4d5a458cb46882c898aab9e20420584c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '028f2c336743042fac386cc741d2ab85618b5fa0e94e196fee1f26cc32ebce993ec76913901efdb6bb43b87198be68b5748662eb5f5de7096735228f683df32a'
|
7
|
+
data.tar.gz: 26669ed5678f6880cd869acbd81b6bea5ef12cb1381e57ad5ad37f2834c0e330c27cf5f3ce081ddabd0bc2c2c1f9730628bdb75971b7c472581f44595c6fbf75
|
data/faraday-tracer.gemspec
CHANGED
data/lib/faraday/tracer.rb
CHANGED
@@ -19,7 +19,7 @@ module Faraday
|
|
19
19
|
'http.url' => env[:url].to_s
|
20
20
|
}
|
21
21
|
)
|
22
|
-
@tracer.inject(span.context, OpenTracing::FORMAT_RACK, env)
|
22
|
+
@tracer.inject(span.context, OpenTracing::FORMAT_RACK, env[:request_headers])
|
23
23
|
@app.call(env).on_complete do |response|
|
24
24
|
span.set_tag('http.status_code', response.status)
|
25
25
|
span.finish
|