opentelemetry-instrumentation-active_record 0.6.0 → 0.6.2

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: 172ab9331ac8833899f7b7a24f56b036e679dfad7a0d18e5590c38769c3b5f20
4
- data.tar.gz: 90392e54b1ae5b4d6dfcb51981ebd8f76597f3e7cdf16f7d48e8ce134de2d4d9
3
+ metadata.gz: 82eafed567709b5d0955a413aec1b5cd3a9bd8cf28542b230c1af0e6f5086b86
4
+ data.tar.gz: ac0ef9f3942f6c9974b911ba242a705925266b82c8e312fa3d6390f47290c426
5
5
  SHA512:
6
- metadata.gz: 7dc7a2cfb3b79dc87f4cecce9d7079d834b24d28802fe054e9459231e8f41fa59e42c07518ece8b50953bb9dc70b42d1464e770b4c004869718ec0341bec0097
7
- data.tar.gz: 938d965c2e1e6bab2539a02b2fde69c9bea77c7f58a8f28b2b0f75a9281f487744f04e818bdd2c66d3202617af42f477035150b3f4e3a2bb756e4c8869887d02
6
+ metadata.gz: 2ba0ad62da95d53b4bc5a5e52ce54dc582966895576c06b7a7bb12604597448e61205f6430a91c552a3d66d404a46b35b1ee70171df013df6e9835a3c63c72d3
7
+ data.tar.gz: c8c7083149e84d216b94b55b6235634b48cc39f385d2539cc3927e0aabd6e79f52ca7d794b7b4bf42c350be77d6987536f7139234530264a8b467cf19247550e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release History: opentelemetry-instrumentation-active_record
2
2
 
3
+ ### v0.6.2 / 2023-08-14
4
+
5
+ * FIXED: Ensure that transaction name property is used, rather than self
6
+
7
+ ### v0.6.1 / 2023-06-05
8
+
9
+ * FIXED: Base config options
10
+
3
11
  ### v0.6.0 / 2023-04-17
4
12
 
5
13
  * BREAKING CHANGE: Drop support for EoL Ruby 2.7
@@ -19,7 +19,7 @@ module OpenTelemetry
19
19
  # Contains ActiveRecord::Transactions::ClassMethods to be patched
20
20
  module ClassMethods
21
21
  def transaction(**options, &block)
22
- tracer.in_span("#{self}.transaction") do
22
+ tracer.in_span('ActiveRecord.transaction', attributes: { 'code.namespace' => name }) do
23
23
  super
24
24
  end
25
25
  end
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module ActiveRecord
10
- VERSION = '0.6.0'
10
+ VERSION = '0.6.2'
11
11
  end
12
12
  end
13
13
  end
@@ -15,5 +15,5 @@ module OpenTelemetry
15
15
  end
16
16
  end
17
17
 
18
- require_relative './active_record/instrumentation'
19
- require_relative './active_record/version'
18
+ require_relative 'active_record/instrumentation'
19
+ require_relative 'active_record/version'
@@ -16,4 +16,4 @@ module OpenTelemetry
16
16
  end
17
17
  end
18
18
 
19
- require_relative './instrumentation/active_record'
19
+ require_relative 'instrumentation/active_record'
@@ -4,4 +4,4 @@
4
4
  #
5
5
  # SPDX-License-Identifier: Apache-2.0
6
6
 
7
- require_relative './opentelemetry/instrumentation'
7
+ require_relative 'opentelemetry/instrumentation'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-instrumentation-active_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
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-04-17 00:00:00.000000000 Z
11
+ date: 2023-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.22.0
33
+ version: 0.22.1
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.22.0
40
+ version: 0.22.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: ruby2_keywords
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -156,14 +156,14 @@ dependencies:
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: 1.48.1
159
+ version: 1.55.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: 1.48.1
166
+ version: 1.55.1
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: simplecov
169
169
  requirement: !ruby/object:Gem::Requirement
@@ -247,10 +247,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
247
247
  licenses:
248
248
  - Apache-2.0
249
249
  metadata:
250
- changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_record/0.6.0/file/CHANGELOG.md
250
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_record/0.6.2/file/CHANGELOG.md
251
251
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/active_record
252
252
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
253
- documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_record/0.6.0
253
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_record/0.6.2
254
254
  post_install_message:
255
255
  rdoc_options: []
256
256
  require_paths: