opentelemetry-instrumentation-mysql2 0.24.3 → 0.25.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 684c23e4ba200269374eca0d4a84f980aef385a04d966686315e5c6a68575625
|
4
|
+
data.tar.gz: 56a9e9ec653d7c69d83c2a2b281c741d6a970b2d5e8217ee37e9cfdcc21152a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc8241281532553cd78cd355f848b1b6c9240eb3ea7e501e06998994d8f24dab99a201f16099ffb937d178e06bb17cacf1b39e529b1d8064287991dab55d3279
|
7
|
+
data.tar.gz: d336f145e1d59e8909f024ffb659801fce360589054a450cf2068e70a06bdc43b366b9e8161fbd8b1a0b7ad1d7cffa326ef311fdf2d73b9fcd26dea8989e1876
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# Release History: opentelemetry-instrumentation-mysql2
|
2
2
|
|
3
|
+
### v0.25.0 / 2023-10-16
|
4
|
+
|
5
|
+
* BREAKING CHANGE: Obfuscation for mysql2, dalli and postgresql as default option for db_statement
|
6
|
+
|
7
|
+
* ADDED: Obfuscation for mysql2, dalli and postgresql as default option for db_statement
|
8
|
+
|
3
9
|
### v0.24.3 / 2023-08-03
|
4
10
|
|
5
11
|
* FIXED: Remove inline linter rules
|
data/README.md
CHANGED
@@ -46,9 +46,9 @@ end
|
|
46
46
|
```ruby
|
47
47
|
OpenTelemetry::SDK.configure do |c|
|
48
48
|
c.use 'OpenTelemetry::Instrumentation::Mysql2', {
|
49
|
-
# The obfuscation of SQL in the db.statement attribute is
|
50
|
-
# To
|
51
|
-
db_statement: :
|
49
|
+
# The obfuscation of SQL in the db.statement attribute is enabled by default.
|
50
|
+
# To disable, set db_statement to :include; to omit the query completely, set db_statement to :omit
|
51
|
+
db_statement: :include,
|
52
52
|
}
|
53
53
|
end
|
54
54
|
```
|
@@ -20,7 +20,7 @@ module OpenTelemetry
|
|
20
20
|
end
|
21
21
|
|
22
22
|
option :peer_service, default: nil, validate: :string
|
23
|
-
option :db_statement, default: :
|
23
|
+
option :db_statement, default: :obfuscate, validate: %I[omit include obfuscate]
|
24
24
|
option :span_name, default: :statement_type, validate: %I[statement_type db_name db_operation_and_name]
|
25
25
|
option :obfuscation_limit, default: 2000, validate: :integer
|
26
26
|
|
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.25.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: 2023-
|
11
|
+
date: 2023-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 2.
|
47
|
+
version: '2.5'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 2.
|
54
|
+
version: '2.5'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -156,14 +156,14 @@ dependencies:
|
|
156
156
|
requirements:
|
157
157
|
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: 1.
|
159
|
+
version: 1.56.1
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: 1.
|
166
|
+
version: 1.56.1
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: simplecov
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -192,20 +192,6 @@ dependencies:
|
|
192
192
|
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: '0.9'
|
195
|
-
- !ruby/object:Gem::Dependency
|
196
|
-
name: yard-doctest
|
197
|
-
requirement: !ruby/object:Gem::Requirement
|
198
|
-
requirements:
|
199
|
-
- - "~>"
|
200
|
-
- !ruby/object:Gem::Version
|
201
|
-
version: 0.1.6
|
202
|
-
type: :development
|
203
|
-
prerelease: false
|
204
|
-
version_requirements: !ruby/object:Gem::Requirement
|
205
|
-
requirements:
|
206
|
-
- - "~>"
|
207
|
-
- !ruby/object:Gem::Version
|
208
|
-
version: 0.1.6
|
209
195
|
description: Mysql2 instrumentation for the OpenTelemetry framework
|
210
196
|
email:
|
211
197
|
- cncf-opentelemetry-contributors@lists.cncf.io
|
@@ -227,10 +213,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
|
|
227
213
|
licenses:
|
228
214
|
- Apache-2.0
|
229
215
|
metadata:
|
230
|
-
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-mysql2/0.
|
216
|
+
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-mysql2/0.25.0/file/CHANGELOG.md
|
231
217
|
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/mysql2
|
232
218
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
|
233
|
-
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-mysql2/0.
|
219
|
+
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-mysql2/0.25.0
|
234
220
|
post_install_message:
|
235
221
|
rdoc_options: []
|
236
222
|
require_paths:
|