opentelemetry-instrumentation-active_job 0.3.0 → 0.4.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: 8e1e9794b086e48e52136a217c91defe4fc158d09b330d9307a1f0fad5a2f3f6
4
- data.tar.gz: f6c4d7e4c4f4aea2b29df2735430756c649a534b3195b6c114dfe7bf47980bde
3
+ metadata.gz: a5c9b5ea9267732952147ae46790b0ff807e61bac67aa3a399317165618ded9b
4
+ data.tar.gz: a64caacdc8976b8da0b7f75aead59bc53a6e944bcf7aca5f42f8feb67798437b
5
5
  SHA512:
6
- metadata.gz: c176c6461a7af9fdde516b99d1038eae28cebedfd7d8ba64e4447654c496bed0e5b5a0270befe712e49128b2253c820caaa057e5ce1e3aee5550f18ad37a1bef
7
- data.tar.gz: 9384415b42d18d14caf9cf4a00f6cd05b3e0047332de4ed8fc9116a70df22d7313df375d4f3ca8a92ce41687a313a47491004705f5cb55d19e66af0a83712312
6
+ metadata.gz: 470216ae85cc2c735fee3da6348e82984045488a491e25976a5cd77ce69a99e795dffcde14313b19a74e19ee291cd69bc6a4006b7ee88a2874192b8039715616
7
+ data.tar.gz: e64fc6c157ba0d88ce90b360bfd8f53630b30bd024a0aa87b3d2d20f5d2e2a2fe245713a8960566364619fbeef2929317443fb5c557b197d8cace8fe5fc986a1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Release History: opentelemetry-instrumentation-active_job
2
2
 
3
+ ### v0.4.0 / 2023-02-01
4
+
5
+ * BREAKING CHANGE: Drop Rails 5 Support
6
+
7
+ * ADDED: Drop Rails 5 Support
8
+
9
+ ### v0.3.1 / 2023-01-14
10
+
11
+ * DOCS: Fix gem homepage
12
+ * DOCS: More gem documentation fixes
13
+
3
14
  ### v0.3.0 / 2022-06-09
4
15
 
5
16
  * Upgrading Base dependency version
data/README.md CHANGED
@@ -32,7 +32,7 @@ end
32
32
 
33
33
  ## Examples
34
34
 
35
- Example usage can be seen in the `./example/active_job.rb` file [here](https://github.com/open-telemetry/opentelemetry-ruby/blob/main/instrumentation/active_job/example/active_job.rb)
35
+ Example usage can be seen in the `./example/active_job.rb` file [here](https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/instrumentation/active_job/example/active_job.rb)
36
36
 
37
37
  ## How can I get involved?
38
38
 
@@ -47,7 +47,7 @@ The `opentelemetry-instrumentation-active_job` gem is distributed under the Apac
47
47
  [activejob-home]: https://guides.rubyonrails.org/active_job_basics.html
48
48
  [bundler-home]: https://bundler.io
49
49
  [repo-github]: https://github.com/open-telemetry/opentelemetry-ruby
50
- [license-github]: https://github.com/open-telemetry/opentelemetry-ruby/blob/main/LICENSE
50
+ [license-github]: https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/LICENSE
51
51
  [ruby-sig]: https://github.com/open-telemetry/community#ruby-sig
52
52
  [community-meetings]: https://github.com/open-telemetry/community#community-meetings
53
53
  [discussions-url]: https://github.com/open-telemetry/opentelemetry-ruby/discussions
@@ -9,7 +9,7 @@ module OpenTelemetry
9
9
  module ActiveJob
10
10
  # The Instrumentation class contains logic to detect and install the ActiveJob instrumentation
11
11
  class Instrumentation < OpenTelemetry::Instrumentation::Base
12
- MINIMUM_VERSION = Gem::Version.new('5.2.0')
12
+ MINIMUM_VERSION = Gem::Version.new('6.0.0')
13
13
 
14
14
  install do |_config|
15
15
  require_dependencies
@@ -24,7 +24,7 @@ module OpenTelemetry
24
24
  end
25
25
  end
26
26
 
27
- def perform_now # rubocop:disable Metrics/AbcSize, Metrics/MethodLength, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
27
+ def perform_now # rubocop:disable Metrics/MethodLength, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
28
28
  span_kind = self.class.queue_adapter_name == 'inline' ? :server : :consumer
29
29
  span_name = "#{otel_config[:span_naming] == :job_class ? self.class : queue_name} process"
30
30
  span_attributes = job_attributes(self).merge('messaging.operation' => 'process')
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module ActiveJob
10
- VERSION = '0.3.0'
10
+ VERSION = '0.4.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.3.0
4
+ version: 0.4.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: 2022-06-09 00:00:00.000000000 Z
11
+ date: 2023-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 5.2.0
47
+ version: 6.0.0
48
48
  type: :development
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: 5.2.0
54
+ version: 6.0.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: appraisal
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -70,16 +70,16 @@ dependencies:
70
70
  name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '1.17'
75
+ version: '2.4'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '1.17'
82
+ version: '2.4'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: minitest
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -142,28 +142,28 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 12.3.3
145
+ version: '13.0'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: 12.3.3
152
+ version: '13.0'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: rubocop
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: 0.73.0
159
+ version: 1.41.1
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: 0.73.0
166
+ version: 1.41.1
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: simplecov
169
169
  requirement: !ruby/object:Gem::Requirement
@@ -238,14 +238,14 @@ files:
238
238
  - lib/opentelemetry/instrumentation/active_job/patches/active_job_callbacks.rb
239
239
  - lib/opentelemetry/instrumentation/active_job/patches/base.rb
240
240
  - lib/opentelemetry/instrumentation/active_job/version.rb
241
- homepage: https://github.com/open-telemetry/opentelemetry-ruby
241
+ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
242
242
  licenses:
243
243
  - Apache-2.0
244
244
  metadata:
245
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-active_job/v0.3.0/file.CHANGELOG.html
246
- source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/active_job
247
- bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
248
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-active_job/v0.3.0
245
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_job/0.4.0/file/CHANGELOG.md
246
+ source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/active_job
247
+ bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
248
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_job/0.4.0
249
249
  post_install_message:
250
250
  rdoc_options: []
251
251
  require_paths: