opentelemetry-instrumentation-active_job 0.9.1 → 0.10.0

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: a8f0dc85135cbb1d87705b03724a043262689ecfa607817621488b72f7cf4c00
4
- data.tar.gz: b2cf6784aace641882b63f707ab640f6fa04f5ed37dd6cfc502d17dd4d905c0a
3
+ metadata.gz: 5ce2620e8e5c5ce27922e5f005930761bb7649577abed8dc9ae3f32c02e5b304
4
+ data.tar.gz: 7f60e39ad214f8f0cf824a0bcfb76ab8523f01a004e5d0b783b1350d8547c9e5
5
5
  SHA512:
6
- metadata.gz: b31448435d5121ac9f8aa933f0e6a2ed407b1a8af23e257590a14723bb1e87b093729482b247d46f2be23ab61fabae77176a6362e6034398aac94dd3367491a9
7
- data.tar.gz: c09b72f0b689725045374571556ee3a8cd182f0f90829731262a22e4cb67b328114c3faf5f7b4ac3cf8277679fe8c5c0587bf346531df70f84df6303869a6363
6
+ metadata.gz: 3b3be66493a60cfd2fa9de2ef913e19b72de8b83cf038dff98810915a09df79cc7e064f80c89a34b6bd9029cdbc95019ed88b9a1ac1e6096dcd0354034ccb917
7
+ data.tar.gz: 0db8115e20c6b8b6695863fd202662a4545c2b1832871da0650f2cfe2a22ee1c33afb994282cdf00a8df867fe07d611536e52829da18740ffa1a1e96bdbf7bd4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release History: opentelemetry-instrumentation-active_job
2
2
 
3
+ ### v0.10.0 / 2025-10-21
4
+
5
+ * BREAKING CHANGE: Min Ruby Version 3.2 and Rails 7.1
6
+
7
+ * ADDED: Min Ruby Version 3.2 and Rails 7.1
8
+
9
+ ### v0.9.2 / 2025-10-07
10
+
11
+ * DOCS: Enhance README
12
+
3
13
  ### v0.9.1 / 2025-09-30
4
14
 
5
15
  * FIXED: Min OTel Ruby API 1.7
data/README.md CHANGED
@@ -30,6 +30,27 @@ OpenTelemetry::SDK.configure do |c|
30
30
  end
31
31
  ```
32
32
 
33
+ ## Configuration Options
34
+
35
+ The instrumentation supports the following configuration options:
36
+
37
+ - **span_naming:** Determines how span names are generated.
38
+ - `:job_class` – Span names are set to `<job class name> <operation>`.
39
+ - `:queue` – Span names are set to `<queue name> <operation>`.
40
+ - Default: `:queue`
41
+ - **force_flush:** If enabled, all completed spans are synchronously flushed at
42
+ the end of each job execution. This is recommended for job systems that fork
43
+ worker processes, such as Resque.
44
+ - Default: `false`
45
+ - **propagation_style:** Controls how job execution traces are related to the
46
+ trace where the job was enqueued.
47
+ - `:link` – The job runs in a separate trace, with its initial span linked to
48
+ the enqueuing span via a Span Link.
49
+ - `:child` – The job runs in the same trace, as a direct child of the
50
+ enqueuing span.
51
+ - `:none` – No explicit link between the job execution and the enqueuing span.
52
+ - Default: `:link`
53
+
33
54
  ## Active Support Instrumentation
34
55
 
35
56
  Earlier versions of this instrumentation relied on registering custom `around_perform` hooks in order to deal with limitations
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module ActiveJob
10
- VERSION = '0.9.1'
10
+ VERSION = '0.10.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-active_job
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.10.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: 2025-10-01 00:00:00.000000000 Z
11
+ date: 2025-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-instrumentation-base
@@ -50,10 +50,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
50
50
  licenses:
51
51
  - Apache-2.0
52
52
  metadata:
53
- changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_job/0.9.1/file/CHANGELOG.md
53
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_job/0.10.0/file/CHANGELOG.md
54
54
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/active_job
55
55
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
56
- documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_job/0.9.1
56
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_job/0.10.0
57
57
  post_install_message:
58
58
  rdoc_options: []
59
59
  require_paths:
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '3.1'
65
+ version: '3.2'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.3.27
72
+ rubygems_version: 3.4.19
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: ActiveJob instrumentation for the OpenTelemetry framework