opentelemetry-instrumentation-dalli 0.24.2 → 0.25.1

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: 8fafd6bd0e456e594621a5c89aacf25a663985f12227ce93f14c9305e791df3c
4
+ data.tar.gz: 7d6318d0d7dd3bc9578fff9fde7eccce8a1023f14e0febf599d3dfb71c807d0f
5
5
  SHA512:
6
- metadata.gz: cfe8f2c4624acdb0a4da81d73124e15ee592f4eb0a10b6490e27409fd734c681cf91b32a830ca98d9838cdd642b647d16886978240f0b72faeb855c77b1e990f
7
- data.tar.gz: a82a2c43886f3cb496d60e3e96ebdafa6ca163345405f2dec24f5787978c40516adfc377f95cadc1e3e252339199fc0f4e871464e478590bbd2735f32fec7386
6
+ metadata.gz: 4bc522a65934b765709faefc30220aceded60c32241d5986346d4087e1729e66ebfac927f1821b2a4e376efe8931e46df7c6e6549b6bb4a62589a67be0332d22
7
+ data.tar.gz: 5e53eaf9111efcd8e1837d6a7fda2cd9e1f4fe0353386e49e583baf3c576a26d1dbe461058499cf0def70dd613e1601e1edd80c2ad58bdc3f9a8d2f99c6333ca
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release History: opentelemetry-instrumentation-dalli
2
2
 
3
+ ### v0.25.1 / 2024-04-30
4
+
5
+ * FIXED: Bundler conflict warnings
6
+
7
+ ### v0.25.0 / 2023-10-16
8
+
9
+ * BREAKING CHANGE: Obfuscation for mysql2, dalli and postgresql as default option for db_statement
10
+
11
+ * ADDED: Obfuscation for mysql2, dalli and postgresql as default option for db_statement
12
+
3
13
  ### v0.24.2 / 2023-07-21
4
14
 
5
15
  * 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.1'
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.1
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: 2024-04-30 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
@@ -80,20 +80,6 @@ dependencies:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '2.4'
83
- - !ruby/object:Gem::Dependency
84
- name: dalli
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '2.7'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '2.7'
97
83
  - !ruby/object:Gem::Dependency
98
84
  name: minitest
99
85
  requirement: !ruby/object:Gem::Requirement
@@ -142,56 +128,56 @@ dependencies:
142
128
  requirements:
143
129
  - - "~>"
144
130
  - !ruby/object:Gem::Version
145
- version: 1.54.1
131
+ version: '1.62'
146
132
  type: :development
147
133
  prerelease: false
148
134
  version_requirements: !ruby/object:Gem::Requirement
149
135
  requirements:
150
136
  - - "~>"
151
137
  - !ruby/object:Gem::Version
152
- version: 1.54.1
138
+ version: '1.62'
153
139
  - !ruby/object:Gem::Dependency
154
- name: simplecov
140
+ name: rubocop-performance
155
141
  requirement: !ruby/object:Gem::Requirement
156
142
  requirements:
157
143
  - - "~>"
158
144
  - !ruby/object:Gem::Version
159
- version: 0.17.1
145
+ version: '1.20'
160
146
  type: :development
161
147
  prerelease: false
162
148
  version_requirements: !ruby/object:Gem::Requirement
163
149
  requirements:
164
150
  - - "~>"
165
151
  - !ruby/object:Gem::Version
166
- version: 0.17.1
152
+ version: '1.20'
167
153
  - !ruby/object:Gem::Dependency
168
- name: yard
154
+ name: simplecov
169
155
  requirement: !ruby/object:Gem::Requirement
170
156
  requirements:
171
157
  - - "~>"
172
158
  - !ruby/object:Gem::Version
173
- version: '0.9'
159
+ version: 0.17.1
174
160
  type: :development
175
161
  prerelease: false
176
162
  version_requirements: !ruby/object:Gem::Requirement
177
163
  requirements:
178
164
  - - "~>"
179
165
  - !ruby/object:Gem::Version
180
- version: '0.9'
166
+ version: 0.17.1
181
167
  - !ruby/object:Gem::Dependency
182
- name: yard-doctest
168
+ name: yard
183
169
  requirement: !ruby/object:Gem::Requirement
184
170
  requirements:
185
171
  - - "~>"
186
172
  - !ruby/object:Gem::Version
187
- version: 0.1.6
173
+ version: '0.9'
188
174
  type: :development
189
175
  prerelease: false
190
176
  version_requirements: !ruby/object:Gem::Requirement
191
177
  requirements:
192
178
  - - "~>"
193
179
  - !ruby/object:Gem::Version
194
- version: 0.1.6
180
+ version: '0.9'
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.1/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.1
221
207
  post_install_message:
222
208
  rdoc_options: []
223
209
  require_paths: