bc-lightstep-ruby 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01adfce9c900a72b914b16516ebd293b3a9c129af2ce16d5e446732b692e4dec
|
4
|
+
data.tar.gz: a51513f0c6fd22baf7f65f43953fcb35662756479da2619a35aca07b9b5c8ffd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2124c1befd96a48d4deb1a75fcc7352d4f237b12ca9fb223b35b220a36163657cac1411520cad1155827fcb6582781aace73f658c15abd82276696dc9c5c6c4c
|
7
|
+
data.tar.gz: a2f523e1830a80b31de0bf79fe6f47f71e8d458c7519d0269ac517b16e323db89f5045f136a46895c2280ac0d56983f397912a83b80efe622f3c2f3f57147292
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,11 @@ Changelog for the bc-lightstep-ruby gem.
|
|
2
2
|
|
3
3
|
h3. Pending Release
|
4
4
|
|
5
|
+
h3. 1.2.1
|
6
|
+
|
7
|
+
- Fix issue where in Rails controllers before the action occurs that an uninitialized reporter would cause a
|
8
|
+
NoMethodError to occur (this most commonly occurs in test suites)
|
9
|
+
|
5
10
|
h3. 1.2.0
|
6
11
|
|
7
12
|
- Bump lightstep gem to 0.13
|
@@ -76,8 +76,8 @@ module Bigcommerce
|
|
76
76
|
def inject_ot_tags!(request_env, span)
|
77
77
|
request_env[:request_headers].merge!(
|
78
78
|
OT_TAG_TRACE_ID => span.context.trace_id.to_s,
|
79
|
-
OT_TAG_SPAN_ID
|
80
|
-
OT_TAG_SAMPLED
|
79
|
+
OT_TAG_SPAN_ID => span.context.id.to_s,
|
80
|
+
OT_TAG_SAMPLED => 'true'
|
81
81
|
)
|
82
82
|
end
|
83
83
|
|
@@ -33,7 +33,7 @@ module Bigcommerce
|
|
33
33
|
span.set_tag('error', true)
|
34
34
|
span.set_tag('http.status_code', Bigcommerce::Lightstep.http1_error_code)
|
35
35
|
tracer.clear_active_span!
|
36
|
-
span.finish
|
36
|
+
span.finish if tracer.reporter_initialized? # only finish the span if we're actually reporting
|
37
37
|
raise # re-raise the error
|
38
38
|
end
|
39
39
|
span.set_tag('http.status_code', response.status)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bc-lightstep-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shaun McCormick
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -133,8 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
133
133
|
- !ruby/object:Gem::Version
|
134
134
|
version: '0'
|
135
135
|
requirements: []
|
136
|
-
|
137
|
-
rubygems_version: 2.7.7
|
136
|
+
rubygems_version: 3.0.2
|
138
137
|
signing_key:
|
139
138
|
specification_version: 4
|
140
139
|
summary: Gem for lightstep distributed tracing
|