opentelemetry-instrumentation-ruby_kafka 0.19.0 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/README.md +2 -2
- data/lib/opentelemetry/instrumentation/ruby_kafka/patches/client.rb +1 -1
- data/lib/opentelemetry/instrumentation/ruby_kafka/patches/consumer.rb +1 -1
- data/lib/opentelemetry/instrumentation/ruby_kafka/patches/producer.rb +1 -1
- data/lib/opentelemetry/instrumentation/ruby_kafka/version.rb +1 -1
- metadata +21 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2163a213791c63aa470442da221fed96f77494974f75250ddb50f72c46067fa
|
4
|
+
data.tar.gz: a4948a6c23c416730ebdb6ea24e7827c810ddb81a668fa6f110feac0d4d4ccda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffd4c3c6ad70c78ff1edf59eeab1c87d26803eb89285c5a416fe22693c6136871a52e76834f83ecdb99df907039b05306f52125aec41256e17b0a603dde78d18
|
7
|
+
data.tar.gz: 1fc3307235d953a660de0b629f29d51b47d4caaba83aad8bfe64db692b158e8a9a71ce95551ccbbba91da3af7f95353f4f892c63d059e3bab9ebc21527b1a611
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
# Release History: opentelemetry-instrumentation-ruby_kafka
|
2
2
|
|
3
|
+
### v0.20.0 / 2023-04-17
|
4
|
+
|
5
|
+
* BREAKING CHANGE: Drop support for EoL Ruby 2.7
|
6
|
+
|
7
|
+
* ADDED: Drop support for EoL Ruby 2.7
|
8
|
+
|
9
|
+
### v0.19.1 / 2023-01-14
|
10
|
+
|
11
|
+
* DOCS: Fix gem homepage
|
12
|
+
* DOCS: More gem documentation fixes
|
13
|
+
|
3
14
|
### v0.19.0 / 2022-06-09
|
4
15
|
|
5
16
|
* Upgrading Base dependency version
|
data/README.md
CHANGED
@@ -32,7 +32,7 @@ end
|
|
32
32
|
|
33
33
|
## Examples
|
34
34
|
|
35
|
-
Example usage can be seen in the `./example/ruby_kafka.rb` file [here](https://github.com/open-telemetry/opentelemetry-ruby/blob/main/instrumentation/ruby_kafka/example/ruby_kafka.rb)
|
35
|
+
Example usage can be seen in the `./example/ruby_kafka.rb` file [here](https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/instrumentation/ruby_kafka/example/ruby_kafka.rb)
|
36
36
|
|
37
37
|
## How can I get involved?
|
38
38
|
|
@@ -70,7 +70,7 @@ The `opentelemetry-instrumentation-ruby_kafka` gem is distributed under the Apac
|
|
70
70
|
[ruby_kafka-home]: https://github.com/zendesk/ruby-kafka
|
71
71
|
[bundler-home]: https://bundler.io
|
72
72
|
[repo-github]: https://github.com/open-telemetry/opentelemetry-ruby
|
73
|
-
[license-github]: https://github.com/open-telemetry/opentelemetry-ruby/blob/main/LICENSE
|
73
|
+
[license-github]: https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/LICENSE
|
74
74
|
[ruby-sig]: https://github.com/open-telemetry/community#ruby-sig
|
75
75
|
[community-meetings]: https://github.com/open-telemetry/community#community-meetings
|
76
76
|
[discussions-url]: https://github.com/open-telemetry/opentelemetry-ruby/discussions
|
@@ -12,7 +12,7 @@ module OpenTelemetry
|
|
12
12
|
module Patches
|
13
13
|
# The Client module contains the instrumentation patch the Client#deliver_message and Client#each_message methods.
|
14
14
|
module Client
|
15
|
-
def deliver_message(value, key: nil, headers: {},
|
15
|
+
def deliver_message(value, topic:, key: nil, headers: {}, partition: nil, partition_key: nil, retries: 1)
|
16
16
|
attributes = {
|
17
17
|
'messaging.system' => 'kafka',
|
18
18
|
'messaging.destination' => topic,
|
@@ -35,7 +35,7 @@ module OpenTelemetry
|
|
35
35
|
end
|
36
36
|
end
|
37
37
|
|
38
|
-
def each_batch(min_bytes: 1, max_bytes: 10_485_760, max_wait_time: 1, automatically_mark_as_processed: true)
|
38
|
+
def each_batch(min_bytes: 1, max_bytes: 10_485_760, max_wait_time: 1, automatically_mark_as_processed: true)
|
39
39
|
super do |batch|
|
40
40
|
attributes = {
|
41
41
|
'messaging.system' => 'kafka',
|
@@ -10,7 +10,7 @@ module OpenTelemetry
|
|
10
10
|
module Patches
|
11
11
|
# The Producer module contains the instrumentation patch the Producer#produce method
|
12
12
|
module Producer
|
13
|
-
def produce(value, key: nil, headers: {},
|
13
|
+
def produce(value, topic:, key: nil, headers: {}, partition: nil, partition_key: nil, create_time: Time.now)
|
14
14
|
attributes = {
|
15
15
|
'messaging.system' => 'kafka',
|
16
16
|
'messaging.destination' => topic,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opentelemetry-instrumentation-ruby_kafka
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.20.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:
|
11
|
+
date: 2023-04-17 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.
|
33
|
+
version: 0.22.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.
|
40
|
+
version: 0.22.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: appraisal
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -56,16 +56,16 @@ dependencies:
|
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '2.4'
|
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: '
|
68
|
+
version: '2.4'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: minitest
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,16 +98,16 @@ dependencies:
|
|
98
98
|
name: opentelemetry-test-helpers
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
103
|
+
version: '0.3'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
110
|
+
version: '0.3'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: rspec-mocks
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,14 +128,14 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
131
|
+
version: 1.48.1
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
138
|
+
version: 1.48.1
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: ruby-kafka
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -212,14 +212,14 @@ files:
|
|
212
212
|
- lib/opentelemetry/instrumentation/ruby_kafka/patches/producer.rb
|
213
213
|
- lib/opentelemetry/instrumentation/ruby_kafka/utils.rb
|
214
214
|
- lib/opentelemetry/instrumentation/ruby_kafka/version.rb
|
215
|
-
homepage: https://github.com/open-telemetry/opentelemetry-ruby
|
215
|
+
homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
|
216
216
|
licenses:
|
217
217
|
- Apache-2.0
|
218
218
|
metadata:
|
219
|
-
changelog_uri: https://
|
220
|
-
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/ruby_kafka
|
221
|
-
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
|
222
|
-
documentation_uri: https://
|
219
|
+
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-ruby_kafka/0.20.0/file/CHANGELOG.md
|
220
|
+
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/ruby_kafka
|
221
|
+
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
|
222
|
+
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-ruby_kafka/0.20.0
|
223
223
|
post_install_message:
|
224
224
|
rdoc_options: []
|
225
225
|
require_paths:
|
@@ -228,14 +228,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
228
228
|
requirements:
|
229
229
|
- - ">="
|
230
230
|
- !ruby/object:Gem::Version
|
231
|
-
version:
|
231
|
+
version: '3.0'
|
232
232
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
233
233
|
requirements:
|
234
234
|
- - ">="
|
235
235
|
- !ruby/object:Gem::Version
|
236
236
|
version: '0'
|
237
237
|
requirements: []
|
238
|
-
rubygems_version: 3.
|
238
|
+
rubygems_version: 3.2.33
|
239
239
|
signing_key:
|
240
240
|
specification_version: 4
|
241
241
|
summary: RubyKafka instrumentation for the OpenTelemetry framework
|