opentelemetry-instrumentation-dalli 0.17.0 → 0.19.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: d2ef37fae3a430a5d2eb4d745aa0c08e7e6814bc8b77499230e897f21f519e6e
4
- data.tar.gz: 6e1d9b429f60b7b4b71a75ad17abea149366d2c52f07ebd2b3b3a6b0f2e5371d
3
+ metadata.gz: a03bb39395524af8921632daeed21a0b8f9683051a4c3ce26f828a9b90f218a2
4
+ data.tar.gz: 2f71e04fc5e8c8fe70b5cbec2271d27fe1b229e768e246167ab1b7aa2468dbfa
5
5
  SHA512:
6
- metadata.gz: 6a6459e387372789c58eafb2a9af353cd554b546d7bf3fe47126cdeca70969ca676e69cc487290610147f9f6594a44cb025309763395859c88ac73ec47cf4712
7
- data.tar.gz: d336fcd785b2433df648a1ac5b6f9f5b1e528b3a839bc668c2023d37796a6692272411d84eaecdaa71c9b760d7ca1e2704bc447f8daa7a2beb7d4e993c0efb52
6
+ metadata.gz: bab5523d76836212672a88df71a6b880fe4cd001413889d8ad7e6cd5d217b65023c01e854ce4a72a54079e4bc624520499a5fcc8aa34efb8caab7959068d5dcf
7
+ data.tar.gz: 0222dc555abaa399a720d5996317a3fd93a09e55d0991164e64d3fc03b99177738576d284cc88aba5efd823f31342b9549101a8f4f24a102dbdccdd9be3fb81c
data/CHANGELOG.md CHANGED
@@ -1,17 +1,34 @@
1
1
  # Release History: opentelemetry-instrumentation-dalli
2
2
 
3
+ ### v0.19.1 / 2021-09-29
4
+
5
+ * (No significant changes)
6
+
7
+ ### v0.19.0 / 2021-08-12
8
+
9
+ * ADDED: Add configuration options for dalli
10
+ * DOCS: Update docs to rely more on environment variable configuration
11
+
12
+ ### v0.18.1 / 2021-06-23
13
+
14
+ * (No significant changes)
15
+
16
+ ### v0.18.0 / 2021-05-21
17
+
18
+ * ADDED: Updated API depedency for 1.0.0.rc1
19
+
3
20
  ### v0.17.0 / 2021-04-22
4
21
 
5
22
  * (No significant changes)
6
23
 
7
24
  ### v0.16.0 / 2021-03-17
8
25
 
9
- * FIXED: Example scripts now reference local common lib
10
- * DOCS: Replace Gitter with GitHub Discussions
26
+ * FIXED: Example scripts now reference local common lib
27
+ * DOCS: Replace Gitter with GitHub Discussions
11
28
 
12
29
  ### v0.15.0 / 2021-02-18
13
30
 
14
- * ADDED: Add instrumentation config validation
31
+ * ADDED: Add instrumentation config validation
15
32
 
16
33
  ### v0.14.0 / 2021-02-03
17
34
 
@@ -27,9 +44,9 @@
27
44
 
28
45
  ### v0.11.0 / 2020-12-11
29
46
 
30
- * ADDED: Add peer service config to dalli
31
- * ADDED: Move utf8 encoding to common utils
32
- * FIXED: Copyright comments to not reference year
47
+ * ADDED: Add peer service config to dalli
48
+ * ADDED: Move utf8 encoding to common utils
49
+ * FIXED: Copyright comments to not reference year
33
50
 
34
51
  ### v0.10.0 / 2020-12-03
35
52
 
@@ -37,9 +54,9 @@
37
54
 
38
55
  ### v0.9.0 / 2020-11-27
39
56
 
40
- * BREAKING CHANGE: Add timeout for force_flush and shutdown
57
+ * BREAKING CHANGE: Add timeout for force_flush and shutdown
41
58
 
42
- * ADDED: Add timeout for force_flush and shutdown
59
+ * ADDED: Add timeout for force_flush and shutdown
43
60
 
44
61
  ### v0.8.0 / 2020-10-27
45
62
 
@@ -47,7 +64,7 @@
47
64
 
48
65
  ### v0.7.0 / 2020-10-07
49
66
 
50
- * DOCS: Standardize toplevel docs structure and readme
67
+ * DOCS: Standardize toplevel docs structure and readme
51
68
 
52
69
  ### v0.6.0 / 2020-09-10
53
70
 
@@ -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.17.0'
10
+ VERSION = '0.19.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.17.0
4
+ version: 0.19.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: 2021-04-23 00:00:00.000000000 Z
11
+ date: 2021-09-30 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: 0.17.0
19
+ version: '1.0'
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: 0.17.0
26
+ version: '1.0'
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.17.0
33
+ version: 0.19.2
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.17.0
40
+ version: 0.19.2
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.17.0
47
+ version: 0.18.3
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.17.0
54
+ version: 0.18.3
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: appraisal
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '0.0'
117
+ version: '1.0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '0.0'
124
+ version: '1.0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rubocop
127
127
  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.17.0/file.CHANGELOG.html
203
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-dalli/v0.19.1/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.17.0
206
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-dalli/v0.19.1
207
207
  post_install_message:
208
208
  rdoc_options: []
209
209
  require_paths: