opentelemetry-instrumentation-pg 0.28.0 → 0.29.0

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