bc-lightstep-ruby 2.6.0 → 2.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 601c8290786658777472d7b16c8012b8758c4dcc2e4853cf5cdc3bf205133d50
|
|
4
|
+
data.tar.gz: 3f37e614a404c05d1677dff48f322b60e3cdbb4c4aba9d14b7da6f88e4b453a0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fb660259c8196c8b053e0170bd6a86e09e0447151dd5e95188f5469456efeac647f05169d07bcd58cae5f6daa082c908db20f9d5dcb58b5fe8be725f2f91f1d2
|
|
7
|
+
data.tar.gz: ac9b91ec6d91becbd2fc564914f10db4d649b34f67558c9d77559e8f160531b399572abb8d4063c2b96128834133388c07a413f3d802e0537f637d2294815f3e
|
data/CHANGELOG.md
CHANGED
|
@@ -2,12 +2,16 @@ Changelog for the bc-lightstep-ruby gem.
|
|
|
2
2
|
|
|
3
3
|
### Pending Release
|
|
4
4
|
|
|
5
|
+
### 2.6.1
|
|
6
|
+
|
|
7
|
+
* Supports hook for controllers to specify additional span tags
|
|
8
|
+
|
|
5
9
|
### 2.6.0
|
|
6
10
|
|
|
7
11
|
* Add support for Rails/ActiveRecord 7
|
|
8
12
|
* Add test coverage for Ruby 3.2
|
|
9
13
|
|
|
10
|
-
### 2.5.
|
|
14
|
+
### 2.5.0
|
|
11
15
|
|
|
12
16
|
* Drop support for Ruby 2
|
|
13
17
|
* Remove unused NullLogger dev dependency
|
|
@@ -30,6 +30,10 @@ module Bigcommerce
|
|
|
30
30
|
span.set_tag('http.content_type', request.format)
|
|
31
31
|
span.set_tag('http.host', request.host)
|
|
32
32
|
span.set_tag('span.kind', 'server')
|
|
33
|
+
|
|
34
|
+
# provide a hook for controllers to provide additional span tags
|
|
35
|
+
lightstep_additional_span_tags.each { |tag_name, value| span.set_tag(tag_name.to_s, value.to_s) }
|
|
36
|
+
|
|
33
37
|
begin
|
|
34
38
|
resp = yield
|
|
35
39
|
rescue StandardError => _e
|
|
@@ -48,6 +52,15 @@ module Bigcommerce
|
|
|
48
52
|
result
|
|
49
53
|
end
|
|
50
54
|
|
|
55
|
+
##
|
|
56
|
+
# Get list of additional span tags
|
|
57
|
+
#
|
|
58
|
+
# @return [Hash]
|
|
59
|
+
#
|
|
60
|
+
def lightstep_additional_span_tags
|
|
61
|
+
{}
|
|
62
|
+
end
|
|
63
|
+
|
|
51
64
|
##
|
|
52
65
|
# Get only the open tracing headers
|
|
53
66
|
#
|
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: 2.6.
|
|
4
|
+
version: 2.6.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: 2023-
|
|
11
|
+
date: 2023-11-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|
|
@@ -262,7 +262,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
262
262
|
- !ruby/object:Gem::Version
|
|
263
263
|
version: '0'
|
|
264
264
|
requirements: []
|
|
265
|
-
rubygems_version: 3.4.
|
|
265
|
+
rubygems_version: 3.4.20
|
|
266
266
|
signing_key:
|
|
267
267
|
specification_version: 4
|
|
268
268
|
summary: Gem for lightstep distributed tracing
|