opentelemetry-instrumentation-active_record 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 57f213bd2470653926c4bb59ddd1470826124f64ab8458e2e0d277eac3f17bc6
4
- data.tar.gz: 48c1379d29dbc0a022796d859619742ca39e97950ffe616ff43afc7a55f21015
3
+ metadata.gz: 82eafed567709b5d0955a413aec1b5cd3a9bd8cf28542b230c1af0e6f5086b86
4
+ data.tar.gz: ac0ef9f3942f6c9974b911ba242a705925266b82c8e312fa3d6390f47290c426
5
5
  SHA512:
6
- metadata.gz: baa83505a24d7e5c5620b9319fdf9be5461798717065c22889e98d717f2ab13aeb612967a57030682a911afe72b4339f10e78ec7c24edd3a5cbde470dc4609f6
7
- data.tar.gz: 01c4cc437f5583a62410e752083c6ba1e1c9010bbb27523c499ddbd5505592df0ee0700d5a2a5d2e049d6268e3541403e672a04e059679de767d521f1d0c5f11
6
+ metadata.gz: 2ba0ad62da95d53b4bc5a5e52ce54dc582966895576c06b7a7bb12604597448e61205f6430a91c552a3d66d404a46b35b1ee70171df013df6e9835a3c63c72d3
7
+ data.tar.gz: c8c7083149e84d216b94b55b6235634b48cc39f385d2539cc3927e0aabd6e79f52ca7d794b7b4bf42c350be77d6987536f7139234530264a8b467cf19247550e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.6.1 / 2023-06-05
4
8
 
5
9
  * FIXED: Base config options
@@ -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.1'
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.1
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-06-05 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
@@ -156,14 +156,14 @@ dependencies:
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: 1.50.2
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.50.2
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.1/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.1
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: