opentelemetry-instrumentation-pg 0.28.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97b67a5ec08535581e63e54f58c641046c9671f7ac5200062a6bfc855bd5bcd0
|
4
|
+
data.tar.gz: a781eff7765c6b0fe36a5f43ff0ba7b1ad2c8ddc194d27ddbbd05dab44cfa69c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 625cd901f2a62593a14a43bb60cc16107c55792214766b1675417e15c0f9ddcec568d733bb96e7ee288a4563504114b3e5ba21bb155a22d29770072cb55ecd1b
|
7
|
+
data.tar.gz: 7ceecbfb83b0146e3c6eff205ab0553caf9011f3f8cd94cf81985e14f559137fac9996ddcc94c989d386a7e7ab7ce18046dfa88c1b977dccc5bf5eef5ff697da
|
data/CHANGELOG.md
CHANGED
@@ -1,122 +1,129 @@
|
|
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
|
+
|
7
|
+
### v0.29.0 / 2024-09-12
|
8
|
+
|
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.
|
10
|
+
|
3
11
|
### v0.28.0 / 2024-08-15
|
4
12
|
|
5
|
-
|
6
|
-
|
13
|
+
- ADDED: Collect pg db.collection_name attribute
|
14
|
+
- FIXED: Update versions to be tested (includes drop support for pg 1.2)
|
7
15
|
|
8
16
|
### v0.27.4 / 2024-07-23
|
9
17
|
|
10
|
-
|
18
|
+
- DOCS: Add cspell to CI
|
11
19
|
|
12
20
|
### v0.27.3 / 2024-05-11
|
13
21
|
|
14
|
-
|
22
|
+
- ADDED: Support prepend SQL comment for PG instrumentation
|
15
23
|
|
16
24
|
### v0.27.2 / 2024-04-30
|
17
25
|
|
18
|
-
|
26
|
+
- FIXED: Bundler conflict warnings
|
19
27
|
|
20
28
|
### v0.27.1 / 2024-02-08
|
21
29
|
|
22
|
-
|
30
|
+
- FIXED: Add missing requires for sql-helpers to mysql, pg, and trilogy instrumentation
|
23
31
|
|
24
32
|
### v0.27.0 / 2024-02-08
|
25
33
|
|
26
|
-
|
27
|
-
|
34
|
+
- BREAKING CHANGE: Move shared sql behavior to helper gems
|
28
35
|
|
29
36
|
### v0.26.1 / 2023-11-23
|
30
37
|
|
31
|
-
|
38
|
+
- CHANGED: Applied Rubocop Performance Recommendations [#727](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/727)
|
32
39
|
|
33
40
|
### v0.26.0 / 2023-10-16
|
34
41
|
|
35
|
-
|
42
|
+
- BREAKING CHANGE: Obfuscation for mysql2, dalli and postgresql as default option for db_statement
|
36
43
|
|
37
|
-
|
44
|
+
- ADDED: Obfuscation for mysql2, dalli and postgresql as default option for db_statement
|
38
45
|
|
39
46
|
### v0.25.3 / 2023-07-29
|
40
47
|
|
41
|
-
|
48
|
+
- FIXED: Pass block explicitly in `define_method` calls for PG instrumentation query methods
|
42
49
|
|
43
50
|
### v0.25.2 / 2023-06-05
|
44
51
|
|
45
|
-
|
52
|
+
- FIXED: Base config options
|
46
53
|
|
47
54
|
### v0.25.1 / 2023-06-01
|
48
55
|
|
49
|
-
|
56
|
+
- FIXED: Regex non-match with obfuscation limit (issue #486)
|
50
57
|
|
51
58
|
### v0.25.0 / 2023-05-25
|
52
59
|
|
53
|
-
|
60
|
+
- ADDED: Add config[:obfuscation_limit] to pg and mysql2
|
54
61
|
|
55
62
|
### v0.24.0 / 2023-04-17
|
56
63
|
|
57
|
-
|
64
|
+
- BREAKING CHANGE: Drop support for EoL Ruby 2.7
|
58
65
|
|
59
|
-
|
66
|
+
- ADDED: Drop support for EoL Ruby 2.7
|
60
67
|
|
61
68
|
### v0.23.0 / 2023-01-14
|
62
69
|
|
63
|
-
|
70
|
+
- BREAKING CHANGE: Removed deprecated instrumentation options
|
64
71
|
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
72
|
+
- ADDED: Removed deprecated instrumentation options
|
73
|
+
- FIXED: Reduce Hash Allocations in PG Instrumentation
|
74
|
+
- DOCS: Fix gem homepage
|
75
|
+
- DOCS: More gem documentation fixes
|
69
76
|
|
70
77
|
### v0.22.3 / 2022-12-06
|
71
78
|
|
72
|
-
|
79
|
+
- FIXED: Use attributes from the active PG connection
|
73
80
|
|
74
81
|
### v0.22.2 / 2022-11-10
|
75
82
|
|
76
|
-
|
83
|
+
- FIXED: Safeguard against host being nil
|
77
84
|
|
78
85
|
### v0.22.1 / 2022-10-27
|
79
86
|
|
80
|
-
|
87
|
+
- FIXED: Only take the first item in a comma-separated list for pg attrs
|
81
88
|
|
82
89
|
### v0.22.0 / 2022-10-04
|
83
90
|
|
84
|
-
|
91
|
+
- ADDED: Add `with_attributes` context propagation for PG instrumentation
|
85
92
|
|
86
93
|
### v0.21.0 / 2022-06-09
|
87
94
|
|
88
|
-
|
89
|
-
|
95
|
+
- Upgrading Base dependency version
|
96
|
+
- FIXED: Broken test file requirements
|
90
97
|
|
91
98
|
### v0.20.0 / 2022-05-02
|
92
99
|
|
93
|
-
|
94
|
-
|
95
|
-
|
100
|
+
- ADDED: Validate Using Enums
|
101
|
+
- FIXED: Update pg instrumentation to handle non primitive argument
|
102
|
+
- FIXED: RubyGems Fallback
|
96
103
|
|
97
104
|
### v0.19.2 / 2021-12-02
|
98
105
|
|
99
|
-
|
106
|
+
- (No significant changes)
|
100
107
|
|
101
108
|
### v0.19.1 / 2021-09-29
|
102
109
|
|
103
|
-
|
110
|
+
- (No significant changes)
|
104
111
|
|
105
112
|
### v0.19.0 / 2021-08-12
|
106
113
|
|
107
|
-
|
108
|
-
|
114
|
+
- ADDED: Add db_statement toggle for postgres
|
115
|
+
- DOCS: Update docs to rely more on environment variable configuration
|
109
116
|
|
110
117
|
### v0.18.1 / 2021-06-23
|
111
118
|
|
112
|
-
|
119
|
+
- (No significant changes)
|
113
120
|
|
114
121
|
### v0.18.0 / 2021-05-21
|
115
122
|
|
116
|
-
|
117
|
-
|
123
|
+
- ADDED: Updated API dependency for 1.0.0.rc1
|
124
|
+
- ADDED: Add option to postgres instrumentation to disable db.statement
|
118
125
|
|
119
126
|
### v0.17.1 / 2021-04-23
|
120
127
|
|
121
|
-
|
122
|
-
|
128
|
+
- Initial release.
|
129
|
+
- ADDED: Initial postgresql instrumentation
|
@@ -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.
|
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-
|
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.
|
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.
|
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:
|
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,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.
|
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.
|
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:
|