opentelemetry-instrumentation-pg 0.29.0 → 0.29.1

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: dbd4b5e3db4cf1c343418ffe7121c94565f238c59d6ba85f063b1ef1b0e71f17
4
- data.tar.gz: 149ea8294e6817584074e096bfc457ef6983c2cbd649fddabcbed0c9d1ac2972
3
+ metadata.gz: 97b67a5ec08535581e63e54f58c641046c9671f7ac5200062a6bfc855bd5bcd0
4
+ data.tar.gz: a781eff7765c6b0fe36a5f43ff0ba7b1ad2c8ddc194d27ddbbd05dab44cfa69c
5
5
  SHA512:
6
- metadata.gz: 65613566f733495499b510c2679c3271778d4af51513db01b381fe606c08059cb9d474adaa0d09378658c6f6adfa86dbbe6d684026d0a3ebdff118ca188be046
7
- data.tar.gz: d500d2cfd32952525f330d2ced9227f14c6c9ba2bd4619e5fb995cf88606fcc6704bae716633dcc2f5136ee41d286acd0f8869de99b3aa97f9eea0736e6f6340
6
+ metadata.gz: 625cd901f2a62593a14a43bb60cc16107c55792214766b1675417e15c0f9ddcec568d733bb96e7ee288a4563504114b3e5ba21bb155a22d29770072cb55ecd1b
7
+ data.tar.gz: 7ceecbfb83b0146e3c6eff205ab0553caf9011f3f8cd94cf81985e14f559137fac9996ddcc94c989d386a7e7ab7ce18046dfa88c1b977dccc5bf5eef5ff697da
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release History: opentelemetry-instrumentation-pg
2
2
 
3
+ ### v0.29.1 / 2024-11-26
4
+
5
+ * FIXED: Get correct table name if table name is quoted
6
+
3
7
  ### v0.29.0 / 2024-09-12
4
8
 
5
9
  - BREAKING CHANGE: Return message when sql is over the obfuscation limit. Fixes a bug where sql statements with prepended comments that hit the obfuscation limit would be sent raw.
@@ -15,7 +15,7 @@ module OpenTelemetry
15
15
  # Module to prepend to PG::Connection for instrumentation
16
16
  module Connection # rubocop:disable Metrics/ModuleLength
17
17
  # Capture the first word (including letters, digits, underscores, & '.', ) that follows common table commands
18
- TABLE_NAME = /\b(?:FROM|INTO|UPDATE|CREATE\s+TABLE(?:\s+IF\s+NOT\s+EXISTS)?|DROP\s+TABLE(?:\s+IF\s+EXISTS)?|ALTER\s+TABLE(?:\s+IF\s+EXISTS)?)\s+([\w\.]+)/i
18
+ TABLE_NAME = /\b(?:FROM|INTO|UPDATE|CREATE\s+TABLE(?:\s+IF\s+NOT\s+EXISTS)?|DROP\s+TABLE(?:\s+IF\s+EXISTS)?|ALTER\s+TABLE(?:\s+IF\s+EXISTS)?)\s+["]?([\w\.]+)["]?/i
19
19
 
20
20
  PG::Constants::EXEC_ISH_METHODS.each do |method|
21
21
  define_method method do |*args, &block|
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module PG
10
- VERSION = '0.29.0'
10
+ VERSION = '0.29.1'
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-pg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.29.0
4
+ version: 0.29.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-12 00:00:00.000000000 Z
11
+ date: 2024-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -170,28 +170,28 @@ dependencies:
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: 1.66.0
173
+ version: 1.68.0
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: 1.66.0
180
+ version: 1.68.0
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: rubocop-performance
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: '1.20'
187
+ version: 1.23.0
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: '1.20'
194
+ version: 1.23.0
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: simplecov
197
197
  requirement: !ruby/object:Gem::Requirement
@@ -243,10 +243,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
243
243
  licenses:
244
244
  - Apache-2.0
245
245
  metadata:
246
- changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-pg/0.29.0/file/CHANGELOG.md
246
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-pg/0.29.1/file/CHANGELOG.md
247
247
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/pg
248
248
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
249
- documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-pg/0.29.0
249
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-pg/0.29.1
250
250
  post_install_message:
251
251
  rdoc_options: []
252
252
  require_paths: