opentelemetry-instrumentation-dalli 0.18.1 → 0.19.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: 68914b69c9f0625422206b3b1b22febeac6823026ed4a9c78b6146ffd476c241
4
- data.tar.gz: fddb79095fd460f30eaf3d4c2dddd6f269cdf83a1d352e0f8ad62e0eea1a3665
3
+ metadata.gz: cceeeb7c1f582abcb6b3d6677c22f3b40a6ec72e71b4d4586754506d24e5b139
4
+ data.tar.gz: 59c779f3c5177014fe2f2ee94f78f3e37dce8bd77e1d595b99f1334da103710c
5
5
  SHA512:
6
- metadata.gz: fae2c645b72b1b6ddc2d37c5dbe2cefb0ba6bad74b08dc4d78e4bf2d1f3dfe0aa12aa0dd3fe03296f66ad1a574ef16d3db8a326b267be368e9efea0b74d9e9cd
7
- data.tar.gz: a17c087ff91627a7abcb41b0823e55c52c06ee079a823f52b03cf8a719e976cb4bcf6edb7e8727456c2acf12ede76364fbfd682e8093df278fefa79714c8da53
6
+ metadata.gz: 0e88fd339959b664fa8078ebca52d19cb37bb1628a71f462726d650e9a23fabf73ac28ec6a7ceec2ca34ac7889e23e5ad91dc9f7f582851fcbeb4e0a09f2f6a3
7
+ data.tar.gz: cf8dc30579dee9238af8c0e4dba61b24784c4512e440b926a9b4bafe508662c7be089af2032049bc9081411ec7ce3601f85162bd645bd8d995eb4c542262cf37
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release History: opentelemetry-instrumentation-dalli
2
2
 
3
+ ### v0.19.0 / 2021-08-12
4
+
5
+ * ADDED: Add configuration options for dalli
6
+ * DOCS: Update docs to rely more on environment variable configuration
7
+
3
8
  ### v0.18.1 / 2021-06-23
4
9
 
5
10
  * (No significant changes)
@@ -20,6 +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 include].include?(opt) }
23
24
 
24
25
  private
25
26
 
@@ -14,10 +14,10 @@ module OpenTelemetry
14
14
  operation = Utils.opname(op, multi?)
15
15
  attributes = {
16
16
  'db.system' => 'memcached',
17
- 'db.statement' => Utils.format_command(operation, args),
18
17
  'net.peer.name' => hostname,
19
18
  'net.peer.port' => port
20
19
  }
20
+ attributes['db.statement'] = Utils.format_command(operation, args) if config[:db_statement] == :include
21
21
  attributes['peer.service'] = config[:peer_service] if config[:peer_service]
22
22
  tracer.in_span(operation, attributes: attributes, kind: :client) do
23
23
  super
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Dalli
10
- VERSION = '0.18.1'
10
+ VERSION = '0.19.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.18.1
4
+ version: 0.19.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-06-24 00:00:00.000000000 Z
11
+ date: 2021-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.0.rc2
19
+ version: 1.0.0.rc3
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.0.0.rc2
26
+ version: 1.0.0.rc3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: opentelemetry-common
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.19.0
33
+ version: 0.19.1
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.0
40
+ version: 0.19.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: opentelemetry-instrumentation-base
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.18.1
47
+ version: 0.18.2
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.18.1
54
+ version: 0.18.2
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.18.1/file.CHANGELOG.html
203
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-dalli/v0.19.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.18.1
206
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-dalli/v0.19.0
207
207
  post_install_message:
208
208
  rdoc_options: []
209
209
  require_paths: