opentelemetry-instrumentation-active_job 0.9.0 → 0.9.2
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 +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +21 -0
- data/lib/opentelemetry/instrumentation/active_job/version.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: 4a2c04f26e90c14306443c6f4984eb5b6640c6e78fb1e5f52b12c3fa8fb227c3
|
4
|
+
data.tar.gz: 31891b12323398ab437d96070a0ccb197f22d3ef69d51274edfd4b21f54b2a2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 332ddeead484c4b2bf278a152192f41445b0f3e68d60c69615bf6dd60ec24474b9d3c892d445a768865eef4dfece9fdbf9db721bfc1c76c8b2cd420bbb429e07
|
7
|
+
data.tar.gz: 2801dc9b8e27f2bbfbfd9c6501c87aae3a28b38cc1574764717b4f23cf0c4b4be8f8b9101fab9337e32f089bdcfb964f51671c1846960770aad6584bde0c5737
|
data/CHANGELOG.md
CHANGED
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
|
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.
|
4
|
+
version: 0.9.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: 2025-
|
11
|
+
date: 2025-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-instrumentation-base
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.24'
|
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: '0.
|
26
|
+
version: '0.24'
|
27
27
|
description: ActiveJob instrumentation for the OpenTelemetry framework
|
28
28
|
email:
|
29
29
|
- cncf-opentelemetry-contributors@lists.cncf.io
|
@@ -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.
|
53
|
+
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_job/0.9.2/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.
|
56
|
+
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_job/0.9.2
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
59
59
|
require_paths:
|