opentelemetry-instrumentation-dalli 0.24.2 → 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: 535ab24a470e010d1d90f017cd3e000af2ae5994edccce8411d9f366435b206c
4
- data.tar.gz: 0cd2883dc5ee2bebeb619123191c520996b6cff1996e0be5fc6d848f15ca8281
3
+ metadata.gz: 2d8dce6d9ccdfaeeabaec4891cdc8d9364e7e6758b6cc17bdda4eac5fde739be
4
+ data.tar.gz: 898c403c316309e070bf9059c7fae390eca52182e10749168277785ebc3ebafc
5
5
  SHA512:
6
- metadata.gz: cfe8f2c4624acdb0a4da81d73124e15ee592f4eb0a10b6490e27409fd734c681cf91b32a830ca98d9838cdd642b647d16886978240f0b72faeb855c77b1e990f
7
- data.tar.gz: a82a2c43886f3cb496d60e3e96ebdafa6ca163345405f2dec24f5787978c40516adfc377f95cadc1e3e252339199fc0f4e871464e478590bbd2735f32fec7386
6
+ metadata.gz: d1a5735374a2e9fe97dda971095faa0e537e9f12f59f3efe437de68ab5570685ed9c69e7feea60a939acc7a738160562b0eda93b871e774940b8a67ae53d2b26
7
+ data.tar.gz: 6a3f27ec268f283cd440a6362a7b3ad99bbb455d89c3a50e95c183791ddb44f490c7bf42395ad3c7dd79103264b8de5db7ab88b6bc7621db7190aa4b174ff6a1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Release History: opentelemetry-instrumentation-dalli
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.2 / 2023-07-21
4
10
 
5
11
  * ADDED: Update `opentelemetry-common` from [0.19.3 to 0.20.0](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/537)
data/README.md CHANGED
@@ -30,6 +30,22 @@ OpenTelemetry::SDK.configure do |c|
30
30
  end
31
31
  ```
32
32
 
33
+ ### Configuration options
34
+
35
+ ```ruby
36
+ OpenTelemetry::SDK.configure do |c|
37
+ c.use 'OpenTelemetry::Instrumentation::Dalli', {
38
+ # You may optionally set a value for 'peer.service', which
39
+ # will be included on all spans from this instrumentation:
40
+ peer_service: '',
41
+
42
+ # The obfuscation of query in the db.statement attribute is enabled by default.
43
+ # To disable, set db_statement to :include; to omit the query completely, set db_statement to :omit
44
+ db_statement: :include,
45
+ }
46
+ end
47
+ ```
48
+
33
49
  ## How can I get involved?
34
50
 
35
51
  The `opentelemetry-instrumentation-dalli` gem source is [on github][repo-github], along with related gems including `opentelemetry-api` and `opentelemetry-sdk`.
@@ -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: :include, validate: %I[omit obfuscate include]
23
+ option :db_statement, default: :obfuscate, validate: %I[omit obfuscate include]
24
24
 
25
25
  private
26
26
 
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Dalli
10
- VERSION = '0.24.2'
10
+ VERSION = '0.25.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-dalli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.2
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-07-21 00:00:00.000000000 Z
11
+ date: 2023-10-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: 2.2.0
61
+ version: '2.5'
62
62
  type: :development
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: 2.2.0
68
+ version: '2.5'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -142,14 +142,14 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 1.54.1
145
+ version: 1.56.1
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: 1.54.1
152
+ version: 1.56.1
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: simplecov
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -178,20 +178,6 @@ dependencies:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0.9'
181
- - !ruby/object:Gem::Dependency
182
- name: yard-doctest
183
- requirement: !ruby/object:Gem::Requirement
184
- requirements:
185
- - - "~>"
186
- - !ruby/object:Gem::Version
187
- version: 0.1.6
188
- type: :development
189
- prerelease: false
190
- version_requirements: !ruby/object:Gem::Requirement
191
- requirements:
192
- - - "~>"
193
- - !ruby/object:Gem::Version
194
- version: 0.1.6
195
181
  description: Dalli instrumentation for the OpenTelemetry framework
196
182
  email:
197
183
  - cncf-opentelemetry-contributors@lists.cncf.io
@@ -214,10 +200,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
214
200
  licenses:
215
201
  - Apache-2.0
216
202
  metadata:
217
- changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-dalli/0.24.2/file/CHANGELOG.md
203
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-dalli/0.25.0/file/CHANGELOG.md
218
204
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/dalli
219
205
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
220
- documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-dalli/0.24.2
206
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-dalli/0.25.0
221
207
  post_install_message:
222
208
  rdoc_options: []
223
209
  require_paths: