opentelemetry-instrumentation-mysql2 0.27.2 → 0.28.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 +54 -51
- data/README.md +4 -3
- data/lib/opentelemetry/instrumentation/mysql2/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1028a41f975ce0d90787a4ecf1dd52d86025c0e4f543a545fc70b1d8544b7dba
|
4
|
+
data.tar.gz: 1d5e1251ef16a1920860402eaf261e9cf04555e66de8237fd839fe45ef9bf132
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab8ec2f2c6b1c1bee9c81e4e884c0cf482740a2a2bffed4b761e4fb395061e6855e48ae72cc6bb80d344158dd1d0b593956fb8cf88cce4d7dafbd4447b76e502
|
7
|
+
data.tar.gz: 8ea41f0afb04860b12920c1797f50896a2f0e4190913419241bd9df0f56c2807fb433738ae7aebb281fd11e54b3e2ffcbcacaad0aac124371288d952d44b8dca
|
data/CHANGELOG.md
CHANGED
@@ -1,157 +1,160 @@
|
|
1
1
|
# Release History: opentelemetry-instrumentation-mysql2
|
2
2
|
|
3
|
+
### v0.28.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.27.2 / 2024-07-23
|
4
8
|
|
5
|
-
|
9
|
+
- DOCS: Add cspell to CI
|
6
10
|
|
7
11
|
### v0.27.1 / 2024-04-30
|
8
12
|
|
9
|
-
|
13
|
+
- FIXED: Bundler conflict warnings
|
10
14
|
|
11
15
|
### v0.27.0 / 2024-02-15
|
12
16
|
|
13
|
-
|
17
|
+
- ADDED: Instrument mysql2 prepare statement
|
14
18
|
|
15
19
|
### v0.26.1 / 2024-02-08
|
16
20
|
|
17
|
-
|
21
|
+
- FIXED: Add missing requires for sql-helpers to mysql, pg, and trilogy instrumentation
|
18
22
|
|
19
23
|
### v0.26.0 / 2024-02-08
|
20
24
|
|
21
|
-
|
22
|
-
|
25
|
+
- BREAKING CHANGE: Move shared sql behavior to helper gems
|
23
26
|
|
24
27
|
### v0.25.0 / 2023-10-16
|
25
28
|
|
26
|
-
|
29
|
+
- BREAKING CHANGE: Obfuscation for mysql2, dalli and postgresql as default option for db_statement
|
27
30
|
|
28
|
-
|
31
|
+
- ADDED: Obfuscation for mysql2, dalli and postgresql as default option for db_statement
|
29
32
|
|
30
33
|
### v0.24.3 / 2023-08-03
|
31
34
|
|
32
|
-
|
35
|
+
- FIXED: Remove inline linter rules
|
33
36
|
|
34
37
|
### v0.24.2 / 2023-06-05
|
35
38
|
|
36
|
-
|
39
|
+
- FIXED: Base config options
|
37
40
|
|
38
41
|
### v0.24.1 / 2023-06-01
|
39
42
|
|
40
|
-
|
43
|
+
- FIXED: Regex non-match with obfuscation limit (issue #486)
|
41
44
|
|
42
45
|
### v0.24.0 / 2023-05-25
|
43
46
|
|
44
|
-
|
47
|
+
- ADDED: Add config[:obfuscation_limit] to pg and mysql2
|
45
48
|
|
46
49
|
### v0.23.0 / 2023-04-17
|
47
50
|
|
48
|
-
|
51
|
+
- BREAKING CHANGE: Drop support for EoL Ruby 2.7
|
49
52
|
|
50
|
-
|
51
|
-
|
53
|
+
- ADDED: Drop support for EoL Ruby 2.7
|
54
|
+
- FIXED: Ensure encoding errors handled during SQL obfuscation for Trilogy
|
52
55
|
|
53
56
|
### v0.22.0 / 2023-01-14
|
54
57
|
|
55
|
-
|
58
|
+
- BREAKING CHANGE: Removed deprecated instrumentation options
|
56
59
|
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
60
|
+
- ADDED: Add option to configure span name
|
61
|
+
- ADDED: Removed deprecated instrumentation options
|
62
|
+
- DOCS: Fix gem homepage
|
63
|
+
- DOCS: More gem documentation fixes
|
61
64
|
|
62
65
|
### v0.21.1 / 2022-10-26
|
63
66
|
|
64
|
-
|
67
|
+
- FIXED: Handle encoding errors in mysql obfuscation
|
65
68
|
|
66
69
|
### v0.21.0 / 2022-06-09
|
67
70
|
|
68
|
-
|
69
|
-
|
71
|
+
- Upgrading Base dependency version
|
72
|
+
- FIXED: Broken test file requirements
|
70
73
|
|
71
74
|
### v0.20.1 / 2022-05-03
|
72
75
|
|
73
|
-
|
76
|
+
- ADDED: `with_attributes` method for context propagation
|
74
77
|
|
75
78
|
### v0.20.0 / 2021-12-01
|
76
79
|
|
77
|
-
|
80
|
+
- ADDED: Add default options config helper + env var config option support
|
78
81
|
|
79
82
|
### v0.19.1 / 2021-09-29
|
80
83
|
|
81
|
-
|
84
|
+
- (No significant changes)
|
82
85
|
|
83
86
|
### v0.19.0 / 2021-08-12
|
84
87
|
|
85
|
-
|
88
|
+
- BREAKING CHANGE: Add option for db.statement
|
86
89
|
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
+
- ADDED: Add option for db.statement
|
91
|
+
- DOCS: Update docs to rely more on environment variable configuration
|
92
|
+
- DOCS: Move to using new db_statement
|
90
93
|
|
91
94
|
### v0.18.1 / 2021-06-23
|
92
95
|
|
93
|
-
|
96
|
+
- (No significant changes)
|
94
97
|
|
95
98
|
### v0.18.0 / 2021-05-21
|
96
99
|
|
97
|
-
|
98
|
-
|
100
|
+
- ADDED: Updated API dependency for 1.0.0.rc1
|
101
|
+
- Fix: Nil value for db.name attribute #744
|
99
102
|
|
100
103
|
### v0.17.0 / 2021-04-22
|
101
104
|
|
102
|
-
|
105
|
+
- (No significant changes)
|
103
106
|
|
104
107
|
### v0.16.0 / 2021-03-17
|
105
108
|
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
+
- FIXED: Update DB semantic conventions
|
110
|
+
- FIXED: Example scripts now reference local common lib
|
111
|
+
- ADDED: Configurable obfuscation of sql in mysql2 instrumentation to avoid logging sensitive data
|
109
112
|
|
110
113
|
### v0.15.0 / 2021-02-18
|
111
114
|
|
112
|
-
|
115
|
+
- ADDED: Add instrumentation config validation
|
113
116
|
|
114
117
|
### v0.14.0 / 2021-02-03
|
115
118
|
|
116
|
-
|
119
|
+
- (No significant changes)
|
117
120
|
|
118
121
|
### v0.13.0 / 2021-01-29
|
119
122
|
|
120
|
-
|
123
|
+
- (No significant changes)
|
121
124
|
|
122
125
|
### v0.12.0 / 2020-12-24
|
123
126
|
|
124
|
-
|
127
|
+
- (No significant changes)
|
125
128
|
|
126
129
|
### v0.11.0 / 2020-12-11
|
127
130
|
|
128
|
-
|
129
|
-
|
131
|
+
- ADDED: Add peer service config to mysql
|
132
|
+
- FIXED: Copyright comments to not reference year
|
130
133
|
|
131
134
|
### v0.10.1 / 2020-12-09
|
132
135
|
|
133
|
-
|
136
|
+
- FIXED: Semantic conventions db.type -> db.system
|
134
137
|
|
135
138
|
### v0.10.0 / 2020-12-03
|
136
139
|
|
137
|
-
|
140
|
+
- (No significant changes)
|
138
141
|
|
139
142
|
### v0.9.0 / 2020-11-27
|
140
143
|
|
141
|
-
|
144
|
+
- BREAKING CHANGE: Add timeout for force_flush and shutdown
|
142
145
|
|
143
|
-
|
146
|
+
- ADDED: Add timeout for force_flush and shutdown
|
144
147
|
|
145
148
|
### v0.8.0 / 2020-10-27
|
146
149
|
|
147
|
-
|
150
|
+
- BREAKING CHANGE: Remove 'canonical' from status codes
|
148
151
|
|
149
|
-
|
152
|
+
- FIXED: Remove 'canonical' from status codes
|
150
153
|
|
151
154
|
### v0.7.0 / 2020-10-07
|
152
155
|
|
153
|
-
|
156
|
+
- DOCS: Standardize top-level docs structure and readme
|
154
157
|
|
155
158
|
### v0.6.0 / 2020-09-10
|
156
159
|
|
157
|
-
|
160
|
+
- (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.28.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-
|
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.
|
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.
|
180
|
+
version: 1.66.0
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: rubocop-performance
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -241,10 +241,10 @@ 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.28.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.
|
247
|
+
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-mysql2/0.28.0
|
248
248
|
post_install_message:
|
249
249
|
rdoc_options: []
|
250
250
|
require_paths:
|