opentelemetry-instrumentation-mysql2 0.27.2 → 0.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +60 -51
- data/README.md +4 -3
- data/lib/opentelemetry/instrumentation/mysql2/version.rb +1 -1
- metadata +15 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e468f671922309886484dbf4c5f853b01bc8016a41614874ecdf11b2babc093
|
4
|
+
data.tar.gz: ff1d94acf8bf44c3f2154b1fb224a206fa6020d4563fc061e8e8e003a3f476b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42155228559826bf97e81b58aac094080333e645a4d7f668f7e98e88988a486e63599cd9bc83e5f09f10871bd6cc490e1240ff2e94682c05634930a86fb9ef74
|
7
|
+
data.tar.gz: 253fbf62687f984a35a33df11d41b1dab4a68272ac7fb511b1d6d6ff871394aa6caef6b04d6158cadd25d76437abc5594c951df38a9ed0362c85b00070f3289a
|
data/CHANGELOG.md
CHANGED
@@ -1,157 +1,166 @@
|
|
1
1
|
# Release History: opentelemetry-instrumentation-mysql2
|
2
2
|
|
3
|
+
### v0.29.0 / 2025-01-16
|
4
|
+
|
5
|
+
* BREAKING CHANGE: Set minimum supported version to Ruby 3.1
|
6
|
+
|
7
|
+
* ADDED: Set minimum supported version to Ruby 3.1
|
8
|
+
|
9
|
+
### v0.28.0 / 2024-09-12
|
10
|
+
|
11
|
+
- 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.
|
12
|
+
|
3
13
|
### v0.27.2 / 2024-07-23
|
4
14
|
|
5
|
-
|
15
|
+
- DOCS: Add cspell to CI
|
6
16
|
|
7
17
|
### v0.27.1 / 2024-04-30
|
8
18
|
|
9
|
-
|
19
|
+
- FIXED: Bundler conflict warnings
|
10
20
|
|
11
21
|
### v0.27.0 / 2024-02-15
|
12
22
|
|
13
|
-
|
23
|
+
- ADDED: Instrument mysql2 prepare statement
|
14
24
|
|
15
25
|
### v0.26.1 / 2024-02-08
|
16
26
|
|
17
|
-
|
27
|
+
- FIXED: Add missing requires for sql-helpers to mysql, pg, and trilogy instrumentation
|
18
28
|
|
19
29
|
### v0.26.0 / 2024-02-08
|
20
30
|
|
21
|
-
|
22
|
-
|
31
|
+
- BREAKING CHANGE: Move shared sql behavior to helper gems
|
23
32
|
|
24
33
|
### v0.25.0 / 2023-10-16
|
25
34
|
|
26
|
-
|
35
|
+
- BREAKING CHANGE: Obfuscation for mysql2, dalli and postgresql as default option for db_statement
|
27
36
|
|
28
|
-
|
37
|
+
- ADDED: Obfuscation for mysql2, dalli and postgresql as default option for db_statement
|
29
38
|
|
30
39
|
### v0.24.3 / 2023-08-03
|
31
40
|
|
32
|
-
|
41
|
+
- FIXED: Remove inline linter rules
|
33
42
|
|
34
43
|
### v0.24.2 / 2023-06-05
|
35
44
|
|
36
|
-
|
45
|
+
- FIXED: Base config options
|
37
46
|
|
38
47
|
### v0.24.1 / 2023-06-01
|
39
48
|
|
40
|
-
|
49
|
+
- FIXED: Regex non-match with obfuscation limit (issue #486)
|
41
50
|
|
42
51
|
### v0.24.0 / 2023-05-25
|
43
52
|
|
44
|
-
|
53
|
+
- ADDED: Add config[:obfuscation_limit] to pg and mysql2
|
45
54
|
|
46
55
|
### v0.23.0 / 2023-04-17
|
47
56
|
|
48
|
-
|
57
|
+
- BREAKING CHANGE: Drop support for EoL Ruby 2.7
|
49
58
|
|
50
|
-
|
51
|
-
|
59
|
+
- ADDED: Drop support for EoL Ruby 2.7
|
60
|
+
- FIXED: Ensure encoding errors handled during SQL obfuscation for Trilogy
|
52
61
|
|
53
62
|
### v0.22.0 / 2023-01-14
|
54
63
|
|
55
|
-
|
64
|
+
- BREAKING CHANGE: Removed deprecated instrumentation options
|
56
65
|
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
66
|
+
- ADDED: Add option to configure span name
|
67
|
+
- ADDED: Removed deprecated instrumentation options
|
68
|
+
- DOCS: Fix gem homepage
|
69
|
+
- DOCS: More gem documentation fixes
|
61
70
|
|
62
71
|
### v0.21.1 / 2022-10-26
|
63
72
|
|
64
|
-
|
73
|
+
- FIXED: Handle encoding errors in mysql obfuscation
|
65
74
|
|
66
75
|
### v0.21.0 / 2022-06-09
|
67
76
|
|
68
|
-
|
69
|
-
|
77
|
+
- Upgrading Base dependency version
|
78
|
+
- FIXED: Broken test file requirements
|
70
79
|
|
71
80
|
### v0.20.1 / 2022-05-03
|
72
81
|
|
73
|
-
|
82
|
+
- ADDED: `with_attributes` method for context propagation
|
74
83
|
|
75
84
|
### v0.20.0 / 2021-12-01
|
76
85
|
|
77
|
-
|
86
|
+
- ADDED: Add default options config helper + env var config option support
|
78
87
|
|
79
88
|
### v0.19.1 / 2021-09-29
|
80
89
|
|
81
|
-
|
90
|
+
- (No significant changes)
|
82
91
|
|
83
92
|
### v0.19.0 / 2021-08-12
|
84
93
|
|
85
|
-
|
94
|
+
- BREAKING CHANGE: Add option for db.statement
|
86
95
|
|
87
|
-
|
88
|
-
|
89
|
-
|
96
|
+
- ADDED: Add option for db.statement
|
97
|
+
- DOCS: Update docs to rely more on environment variable configuration
|
98
|
+
- DOCS: Move to using new db_statement
|
90
99
|
|
91
100
|
### v0.18.1 / 2021-06-23
|
92
101
|
|
93
|
-
|
102
|
+
- (No significant changes)
|
94
103
|
|
95
104
|
### v0.18.0 / 2021-05-21
|
96
105
|
|
97
|
-
|
98
|
-
|
106
|
+
- ADDED: Updated API dependency for 1.0.0.rc1
|
107
|
+
- Fix: Nil value for db.name attribute #744
|
99
108
|
|
100
109
|
### v0.17.0 / 2021-04-22
|
101
110
|
|
102
|
-
|
111
|
+
- (No significant changes)
|
103
112
|
|
104
113
|
### v0.16.0 / 2021-03-17
|
105
114
|
|
106
|
-
|
107
|
-
|
108
|
-
|
115
|
+
- FIXED: Update DB semantic conventions
|
116
|
+
- FIXED: Example scripts now reference local common lib
|
117
|
+
- ADDED: Configurable obfuscation of sql in mysql2 instrumentation to avoid logging sensitive data
|
109
118
|
|
110
119
|
### v0.15.0 / 2021-02-18
|
111
120
|
|
112
|
-
|
121
|
+
- ADDED: Add instrumentation config validation
|
113
122
|
|
114
123
|
### v0.14.0 / 2021-02-03
|
115
124
|
|
116
|
-
|
125
|
+
- (No significant changes)
|
117
126
|
|
118
127
|
### v0.13.0 / 2021-01-29
|
119
128
|
|
120
|
-
|
129
|
+
- (No significant changes)
|
121
130
|
|
122
131
|
### v0.12.0 / 2020-12-24
|
123
132
|
|
124
|
-
|
133
|
+
- (No significant changes)
|
125
134
|
|
126
135
|
### v0.11.0 / 2020-12-11
|
127
136
|
|
128
|
-
|
129
|
-
|
137
|
+
- ADDED: Add peer service config to mysql
|
138
|
+
- FIXED: Copyright comments to not reference year
|
130
139
|
|
131
140
|
### v0.10.1 / 2020-12-09
|
132
141
|
|
133
|
-
|
142
|
+
- FIXED: Semantic conventions db.type -> db.system
|
134
143
|
|
135
144
|
### v0.10.0 / 2020-12-03
|
136
145
|
|
137
|
-
|
146
|
+
- (No significant changes)
|
138
147
|
|
139
148
|
### v0.9.0 / 2020-11-27
|
140
149
|
|
141
|
-
|
150
|
+
- BREAKING CHANGE: Add timeout for force_flush and shutdown
|
142
151
|
|
143
|
-
|
152
|
+
- ADDED: Add timeout for force_flush and shutdown
|
144
153
|
|
145
154
|
### v0.8.0 / 2020-10-27
|
146
155
|
|
147
|
-
|
156
|
+
- BREAKING CHANGE: Remove 'canonical' from status codes
|
148
157
|
|
149
|
-
|
158
|
+
- FIXED: Remove 'canonical' from status codes
|
150
159
|
|
151
160
|
### v0.7.0 / 2020-10-07
|
152
161
|
|
153
|
-
|
162
|
+
- DOCS: Standardize top-level docs structure and readme
|
154
163
|
|
155
164
|
### v0.6.0 / 2020-09-10
|
156
165
|
|
157
|
-
|
166
|
+
- (No significant changes)
|
data/README.md
CHANGED
@@ -6,7 +6,7 @@ The OpenTelemetry Mysql2 Ruby gem is a community maintained instrumentation for
|
|
6
6
|
|
7
7
|
Install the gem using:
|
8
8
|
|
9
|
-
```
|
9
|
+
```console
|
10
10
|
gem install opentelemetry-instrumentation-mysql2
|
11
11
|
```
|
12
12
|
|
@@ -61,7 +61,7 @@ An example of usage can be seen in [`example/mysql2.rb`](https://github.com/open
|
|
61
61
|
|
62
62
|
The `opentelemetry-instrumentation-mysql2` gem source is [on github][repo-github], along with related gems including `opentelemetry-api` and `opentelemetry-sdk`.
|
63
63
|
|
64
|
-
The OpenTelemetry Ruby gems are maintained by the OpenTelemetry
|
64
|
+
The OpenTelemetry Ruby gems are maintained by the OpenTelemetry Ruby special interest group (SIG). You can get involved by joining us on our [GitHub Discussions][discussions-url], [Slack Channel][slack-channel] or attending our weekly meeting. See the [meeting calendar][community-meetings] for dates and times. For more information on this and other language SIGs, see the OpenTelemetry [community page][ruby-sig].
|
65
65
|
|
66
66
|
## License
|
67
67
|
|
@@ -73,4 +73,5 @@ The `opentelemetry-instrumentation-mysql2` gem is distributed under the Apache 2
|
|
73
73
|
[license-github]: https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/LICENSE
|
74
74
|
[ruby-sig]: https://github.com/open-telemetry/community#ruby-sig
|
75
75
|
[community-meetings]: https://github.com/open-telemetry/community#community-meetings
|
76
|
-
[
|
76
|
+
[slack-channel]: https://cloud-native.slack.com/archives/C01NWKKMKMY
|
77
|
+
[discussions-url]: https://github.com/open-telemetry/opentelemetry-ruby/discussions
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opentelemetry-instrumentation-mysql2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.29.0
|
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-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: 0.23.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
68
|
+
version: 0.23.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: appraisal
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -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
|
@@ -241,11 +241,11 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
|
|
241
241
|
licenses:
|
242
242
|
- Apache-2.0
|
243
243
|
metadata:
|
244
|
-
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-mysql2/0.
|
244
|
+
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-mysql2/0.29.0/file/CHANGELOG.md
|
245
245
|
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/mysql2
|
246
246
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
|
247
|
-
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-mysql2/0.
|
248
|
-
post_install_message:
|
247
|
+
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-mysql2/0.29.0
|
248
|
+
post_install_message:
|
249
249
|
rdoc_options: []
|
250
250
|
require_paths:
|
251
251
|
- lib
|
@@ -253,15 +253,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
253
253
|
requirements:
|
254
254
|
- - ">="
|
255
255
|
- !ruby/object:Gem::Version
|
256
|
-
version: '3.
|
256
|
+
version: '3.1'
|
257
257
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
258
258
|
requirements:
|
259
259
|
- - ">="
|
260
260
|
- !ruby/object:Gem::Version
|
261
261
|
version: '0'
|
262
262
|
requirements: []
|
263
|
-
rubygems_version: 3.
|
264
|
-
signing_key:
|
263
|
+
rubygems_version: 3.3.27
|
264
|
+
signing_key:
|
265
265
|
specification_version: 4
|
266
266
|
summary: Mysql2 instrumentation for the OpenTelemetry framework
|
267
267
|
test_files: []
|