opentelemetry-instrumentation-dalli 0.24.1 → 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: 9886eb44fb7ec7a1f75cf8c000e758b56440d94cc518d831371ad57160a2b25d
4
- data.tar.gz: 06af98a86ca7a520a3b611de909235513a9ec015cf17c28266df85a152426439
3
+ metadata.gz: 2d8dce6d9ccdfaeeabaec4891cdc8d9364e7e6758b6cc17bdda4eac5fde739be
4
+ data.tar.gz: 898c403c316309e070bf9059c7fae390eca52182e10749168277785ebc3ebafc
5
5
  SHA512:
6
- metadata.gz: 461ac51eb5305d98db04b0d0e062df1f290ff561f5fb6637d4bf59be6446bb6bc7d418023f227bf53e268e684ff546cb800dab28e4b253e18107c2706c08dc6b
7
- data.tar.gz: 0e2ec266fc19913b89d0f8c0c0b1ce5a8031bd5fc842247009187a818e1bb33a47e3d6ddaaa06d5fc4b49511dd04d83e52e7f4e1c40190294f5fd7d30df9f68c
6
+ metadata.gz: d1a5735374a2e9fe97dda971095faa0e537e9f12f59f3efe437de68ab5570685ed9c69e7feea60a939acc7a738160562b0eda93b871e774940b8a67ae53d2b26
7
+ data.tar.gz: 6a3f27ec268f283cd440a6362a7b3ad99bbb455d89c3a50e95c183791ddb44f490c7bf42395ad3c7dd79103264b8de5db7ab88b6bc7621db7190aa4b174ff6a1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
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
+
9
+ ### v0.24.2 / 2023-07-21
10
+
11
+ * ADDED: Update `opentelemetry-common` from [0.19.3 to 0.20.0](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/537)
12
+
3
13
  ### v0.24.1 / 2023-06-05
4
14
 
5
15
  * FIXED: Base config options
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.1'
10
+ VERSION = '0.25.0'
11
11
  end
12
12
  end
13
13
  end
@@ -16,5 +16,5 @@ module OpenTelemetry
16
16
  end
17
17
  end
18
18
 
19
- require_relative './dalli/instrumentation'
20
- require_relative './dalli/version'
19
+ require_relative 'dalli/instrumentation'
20
+ require_relative 'dalli/version'
@@ -19,4 +19,4 @@ module OpenTelemetry
19
19
  end
20
20
  end
21
21
 
22
- require_relative './instrumentation/dalli'
22
+ require_relative 'instrumentation/dalli'
@@ -4,4 +4,4 @@
4
4
  #
5
5
  # SPDX-License-Identifier: Apache-2.0
6
6
 
7
- require_relative './opentelemetry/instrumentation'
7
+ require_relative 'opentelemetry/instrumentation'
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.1
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-06-05 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
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.19.3
33
+ version: 0.20.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.19.3
40
+ version: 0.20.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: opentelemetry-instrumentation-base
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -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.50.2
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.50.2
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.1/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.1
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: