opentelemetry-instrumentation-dalli 0.20.0 → 0.21.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: adb6533b877bcebab4922d8bbe8f6bb83d2cef7ff703d1b7887da25750088da1
4
- data.tar.gz: fa04f75d4a15e816aaa64e1dbc27d4bd5f5ffc1d95865b8e6cdf85eaae4e36cc
3
+ metadata.gz: 71c0594ea7e11a8d6a0ac1ef5a4d605783fe81b71c87dcb8f33b67f56cb221b3
4
+ data.tar.gz: 976be448e6529b4025dad1ff76dbe03f363b9da8941815a5a10f5b792175013e
5
5
  SHA512:
6
- metadata.gz: c2669bad540514cb631adc1ec46a22665934daa4ee62e1471eea1825e5855ac3a97112fdf6c56893ba5415d1ead3e9fd4cb17c4e983e0bb25929a7ea861d55be
7
- data.tar.gz: e0c5e748e0b283ff787d0cd186d12449969a76cd1608cbd3bf252ba9caa52f790cfde31c2711414d28625f042f2328d28ec5c6467d3d5e1921646c53ce2751b0
6
+ metadata.gz: 33eb692c99e9442f12a090832592edf0af40835c85feea7cf603a2b79f863e64e54c0bcc1bc84f84e2cd24ad168057d781d0799efd85cb057fed9c42a37e98a9
7
+ data.tar.gz: 0a9c6be5d04016ccfc28d5145cee50e78047f491148c8b3197e5ef8f76b326f296edf5c04bdfb6e1ac8c44c87b0a9bdf6638ed3a319c5baa6ff4c545fcf41c4b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release History: opentelemetry-instrumentation-dalli
2
2
 
3
+ ### v0.21.0 / 2022-05-02
4
+
5
+ * ADDED: Validate Using Enums
6
+
3
7
  ### v0.20.0 / 2021-12-01
4
8
 
5
9
  * ADDED: Add dalli obfuscation for db_statement
@@ -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: ->(opt) { %I[omit obfuscate include].include?(opt) }
23
+ option :db_statement, default: :include, validate: %I[omit obfuscate include]
24
24
 
25
25
  private
26
26
 
@@ -26,6 +26,13 @@ module OpenTelemetry
26
26
  'write_noop' => 'noop',
27
27
  'version' => 'version',
28
28
  'send_multiget' => 'getkq',
29
+ # TODO: add better support for PipelinedGetter
30
+ # In dalli 3.1, multiget has been refactored to use a more robust PipelinedGetter class.
31
+ # The `pipelined_get` method has been introduced to the Dalli::Server to support this new class.
32
+ # If PipelinedGetter makes instrumentation of multi operations easier, we should then migrate
33
+ # instrumentation to Dalli::Client, since it seems to be a more stable chokepoint.
34
+ # For now we're just ensuring we support this new Dalli::Server method.
35
+ 'pipelined_get' => 'getkq',
29
36
  'append' => 'append',
30
37
  'prepend' => 'prepend',
31
38
  'stats' => 'stat',
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Dalli
10
- VERSION = '0.20.0'
10
+ VERSION = '0.21.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.20.0
4
+ version: 0.21.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: 2021-12-01 00:00:00.000000000 Z
11
+ date: 2022-05-02 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: 0.19.0
47
+ version: 0.20.0
48
48
  type: :runtime
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: 0.19.0
54
+ version: 0.20.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: appraisal
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -200,10 +200,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
200
200
  licenses:
201
201
  - Apache-2.0
202
202
  metadata:
203
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-dalli/v0.20.0/file.CHANGELOG.html
203
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-dalli/v0.21.0/file.CHANGELOG.html
204
204
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/dalli
205
205
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
206
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-dalli/v0.20.0
206
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-dalli/v0.21.0
207
207
  post_install_message:
208
208
  rdoc_options: []
209
209
  require_paths: