opentelemetry-instrumentation-pg 0.29.0 → 0.29.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e363ce3cfed755e66e8fa0712e23bdc6cb68f40085b87e4179bdeae74ce7c9e6
|
4
|
+
data.tar.gz: bc4e97f6c0842721b106647d46f96d28b58c8b6c9700063430f353afbb332435
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 357c0b75ff7ea8d31d8c30c02a4b8bc1aaeb980146c974729c95668f702fac89e6b6e83fa6fbeaa51e3f575cb57a01062a5a26d4c39a7b2aa971ae46ff116ce1
|
7
|
+
data.tar.gz: ca3fa8c594362d4ef4c021da240ed2336b1f6c720cfc73f61fc1494b6008c439b8f73fade7782af57829738aa993a51b817969569f978fe2cc88bb1da2d71af4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release History: opentelemetry-instrumentation-pg
|
2
2
|
|
3
|
+
### v0.29.2 / 2025-01-07
|
4
|
+
|
5
|
+
* FIXED: Update instrumentation pg to support merge statements
|
6
|
+
|
7
|
+
### v0.29.1 / 2024-11-26
|
8
|
+
|
9
|
+
* FIXED: Get correct table name if table name is quoted
|
10
|
+
|
3
11
|
### v0.29.0 / 2024-09-12
|
4
12
|
|
5
13
|
- 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.
|
@@ -40,10 +40,10 @@ module OpenTelemetry
|
|
40
40
|
LISTEN
|
41
41
|
LOAD
|
42
42
|
LOCK
|
43
|
+
MERGE
|
43
44
|
MOVE
|
44
45
|
NOTIFY
|
45
46
|
PREPARE
|
46
|
-
PREPARE
|
47
47
|
REASSIGN
|
48
48
|
REFRESH
|
49
49
|
REINDEX
|
@@ -54,7 +54,6 @@ module OpenTelemetry
|
|
54
54
|
SAVEPOINT
|
55
55
|
SECURITY
|
56
56
|
SELECT
|
57
|
-
SELECT
|
58
57
|
SET
|
59
58
|
SHOW
|
60
59
|
START
|
@@ -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\.]+)
|
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|
|
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.
|
4
|
+
version: 0.29.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenTelemetry Authors
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-07 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.
|
173
|
+
version: 1.69.1
|
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.
|
180
|
+
version: 1.69.1
|
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:
|
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:
|
194
|
+
version: 1.23.0
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
name: simplecov
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
@@ -243,11 +243,11 @@ 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.
|
246
|
+
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-pg/0.29.2/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.
|
250
|
-
post_install_message:
|
249
|
+
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-pg/0.29.2
|
250
|
+
post_install_message:
|
251
251
|
rdoc_options: []
|
252
252
|
require_paths:
|
253
253
|
- lib
|
@@ -263,7 +263,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
263
263
|
version: '0'
|
264
264
|
requirements: []
|
265
265
|
rubygems_version: 3.2.33
|
266
|
-
signing_key:
|
266
|
+
signing_key:
|
267
267
|
specification_version: 4
|
268
268
|
summary: PG (PostgreSQL) instrumentation for the OpenTelemetry framework
|
269
269
|
test_files: []
|