opentelemetry-instrumentation-que 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/opentelemetry/instrumentation/que/patches/que_job.rb +4 -1
- data/lib/opentelemetry/instrumentation/que/version.rb +1 -1
- data/lib/opentelemetry/instrumentation/que.rb +2 -2
- data/lib/opentelemetry/instrumentation.rb +1 -1
- data/lib/opentelemetry-instrumentation-que.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 507bd603a8e7ada0c86e404ba48f81fe47bed3c85d4aa3fb525e0e338378379e
|
4
|
+
data.tar.gz: d655568f225942eff78b60e9887abcc488eb222ec83cc1f3242b8bb7da5b0045
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2035f012d42502683a292a70401992598653c086b0f63f3aa1f0fec9ca7354a0a4b9eb7595d7a31f39a7dbcad46c9f7993c13a1a8bbba66b05d22248b93596ff
|
7
|
+
data.tar.gz: a78c70912e558064700b52322bba995b2d4863ebe74f6966c07c7809c484ee7e867d1c7ed1dea25cdc041325f757f93f7bc1032b94f4a06de43f38370abd30d1
|
data/CHANGELOG.md
CHANGED
@@ -46,7 +46,10 @@ module OpenTelemetry
|
|
46
46
|
# In Que version 2.1.0 `bulk_enqueue` was introduced and in order
|
47
47
|
# for it to work, we must pass `job_options` to `bulk_enqueue` instead of enqueue.
|
48
48
|
if gem_version >= Gem::Version.new('2.1.0') && Thread.current[:que_jobs_to_bulk_insert]
|
49
|
-
Thread.current[:que_jobs_to_bulk_insert][:job_options] = job_options
|
49
|
+
Thread.current[:que_jobs_to_bulk_insert][:job_options] = Thread.current[:que_jobs_to_bulk_insert][:job_options]&.merge(tags: tags) do |_, a, b|
|
50
|
+
a.is_a?(Array) && b.is_a?(Array) ? a.concat(b) : b
|
51
|
+
end
|
52
|
+
|
50
53
|
job = super(*args, **arg_opts)
|
51
54
|
job_attrs = Thread.current[:que_jobs_to_bulk_insert][:jobs_attrs].last
|
52
55
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opentelemetry-instrumentation-que
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenTelemetry Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -184,14 +184,14 @@ dependencies:
|
|
184
184
|
requirements:
|
185
185
|
- - "~>"
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version: 1.
|
187
|
+
version: 1.55.1
|
188
188
|
type: :development
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
192
|
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version: 1.
|
194
|
+
version: 1.55.1
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
name: simplecov
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
@@ -258,10 +258,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
|
|
258
258
|
licenses:
|
259
259
|
- Apache-2.0
|
260
260
|
metadata:
|
261
|
-
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-que/0.6.
|
261
|
+
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-que/0.6.2/file/CHANGELOG.md
|
262
262
|
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/que
|
263
263
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
|
264
|
-
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-que/0.6.
|
264
|
+
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-que/0.6.2
|
265
265
|
post_install_message:
|
266
266
|
rdoc_options: []
|
267
267
|
require_paths:
|