opentelemetry-instrumentation-sidekiq 0.20.0 → 0.21.0

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: ed3245b1219d820a05497041a3fba84494655ac67038825b98941a270beef4d2
4
- data.tar.gz: f1be8da71c4011dd4bb6a2647133a47ab8ed13bfda3490c2b9d5bf30f949a5c0
3
+ metadata.gz: 2a45472c0544d690cd364047bd1de0254b801c7fbc1aa346b7aa292544a3c826
4
+ data.tar.gz: a88e04a5a173cfb1b4a456bf97b05f27d29cb2fdce75553593d2116d9fafb075
5
5
  SHA512:
6
- metadata.gz: 2c93c6453a0c640d67bb7025c4d9f1051d889bcfe933d371b4c5dd88f408e80569854ed88f1775d4305ebad72936ce48ca8527288ae6d9505fa616cf73c9d9b7
7
- data.tar.gz: 23f3ecbf3e59acbd2b54259aa13a64bf38b4191d476d38fdf800b0b832841103a56895c4f3c5bc6b55e6e7b7ca3042f5a95aa9a0f0963475e665e8f98fc6feca
6
+ metadata.gz: a245a733caddf11569685ee0b6bd086956ece8b32e92b621685d6fef49b8101fb4f46c25fcfd8c03ec5bfe89f08cad638d00ddcd0a3388e0e9377d2345e52819
7
+ data.tar.gz: e536209f408916be72d55da18de044da8370ef1be59c023ab156e7d3c196b7f1a057ad74e8f6df1964ee496fa4021964e9079ba4f05f675edc20ce709519f70d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release History: opentelemetry-instrumentation-sidekiq
2
2
 
3
+ ### v0.21.0 / 2022-05-02
4
+
5
+ * ADDED: Validate Using Enums
6
+ * FIXED: RubyGems Fallback
7
+
8
+ ### v0.20.2 / 2021-12-02
9
+
10
+ * (No significant changes)
11
+
12
+ ### v0.20.1 / 2021-09-29
13
+
14
+ * (No significant changes)
15
+
3
16
  ### v0.20.0 / 2021-08-18
4
17
 
5
18
  * ADDED: Gracefully flush provider on sidekiq shutdown event
@@ -27,8 +27,8 @@ module OpenTelemetry
27
27
  gem_version >= MINIMUM_VERSION
28
28
  end
29
29
 
30
- option :span_naming, default: :queue, validate: ->(opt) { %I[job_class queue].include?(opt) }
31
- option :propagation_style, default: :link, validate: ->(opt) { %i[link child none].include?(opt) }
30
+ option :span_naming, default: :queue, validate: %I[job_class queue]
31
+ option :propagation_style, default: :link, validate: %i[link child none]
32
32
  option :trace_launcher_heartbeat, default: false, validate: :boolean
33
33
  option :trace_poller_enqueue, default: false, validate: :boolean
34
34
  option :trace_poller_wait, default: false, validate: :boolean
@@ -38,7 +38,7 @@ module OpenTelemetry
38
38
  private
39
39
 
40
40
  def gem_version
41
- Gem.loaded_specs['sidekiq'].version
41
+ Gem::Version.new(::Sidekiq::VERSION)
42
42
  end
43
43
 
44
44
  def require_dependencies
@@ -18,7 +18,8 @@ module OpenTelemetry
18
18
  'messaging.sidekiq.job_class' => msg['wrapped']&.to_s || msg['class'],
19
19
  'messaging.message_id' => msg['jid'],
20
20
  'messaging.destination' => msg['queue'],
21
- 'messaging.destination_kind' => 'queue'
21
+ 'messaging.destination_kind' => 'queue',
22
+ 'messaging.operation' => 'process'
22
23
  }
23
24
  attributes['peer.service'] = config[:peer_service] if config[:peer_service]
24
25
 
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Sidekiq
10
- VERSION = '0.20.0'
10
+ VERSION = '0.21.0'
11
11
  end
12
12
  end
13
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-instrumentation-sidekiq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-19 00:00:00.000000000 Z
11
+ date: 2022-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.0.rc3
19
+ version: '1.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.0.0.rc3
26
+ version: '1.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: opentelemetry-common
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.19.1
33
+ version: 0.19.3
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.19.1
40
+ version: 0.19.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: opentelemetry-instrumentation-base
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.18.2
47
+ version: 0.20.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.18.2
54
+ version: 0.20.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: appraisal
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +100,28 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 1.0.0.rc1
103
+ version: '1.0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 1.0.0.rc1
110
+ version: '1.0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rspec-mocks
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: rubocop
113
127
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +142,14 @@ dependencies:
128
142
  requirements:
129
143
  - - "~>"
130
144
  - !ruby/object:Gem::Version
131
- version: 5.0.0
145
+ version: 5.2.0
132
146
  type: :development
133
147
  prerelease: false
134
148
  version_requirements: !ruby/object:Gem::Requirement
135
149
  requirements:
136
150
  - - "~>"
137
151
  - !ruby/object:Gem::Version
138
- version: 5.0.0
152
+ version: 5.2.0
139
153
  - !ruby/object:Gem::Dependency
140
154
  name: simplecov
141
155
  requirement: !ruby/object:Gem::Requirement
@@ -203,10 +217,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
203
217
  licenses:
204
218
  - Apache-2.0
205
219
  metadata:
206
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-sidekiq/v0.20.0/file.CHANGELOG.html
220
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-sidekiq/v0.21.0/file.CHANGELOG.html
207
221
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/sidekiq
208
222
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
209
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-sidekiq/v0.20.0
223
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-sidekiq/v0.21.0
210
224
  post_install_message:
211
225
  rdoc_options: []
212
226
  require_paths: