opentelemetry-instrumentation-ruby_kafka 0.18.6 → 0.19.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -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 +32 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 889aebe969f1ee653fee15e68a11e1a2c7ff025ad94f8a1f39e671deee2ad0ee
|
4
|
+
data.tar.gz: 1450dabd0e0be3d7f23fe406fb5d38533dee41b089c2478fcacb288e462f223b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cfa19505b710f56998c29d73f3c15607f88806ea659829603ebc10cda1f41ab3d204cabdc6d153f267d07f90ba825a54d928ec5a900d163b8f72bafa242f3148
|
7
|
+
data.tar.gz: 3d9ae0671d53a89fc22652256c8221be6bfb1290cc4efceeb762027a6060ef84d845fda1a5227ea154284bdfb5fc4f9bf1ddd34b015e0fccbe4dea83838aa1c4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Release History: opentelemetry-instrumentation-ruby_kafka
|
2
2
|
|
3
|
+
### v0.19.1 / 2023-01-14
|
4
|
+
|
5
|
+
* DOCS: Fix gem homepage
|
6
|
+
* DOCS: More gem documentation fixes
|
7
|
+
|
8
|
+
### v0.19.0 / 2022-06-09
|
9
|
+
|
10
|
+
* Upgrading Base dependency version
|
11
|
+
* FIXED: Broken test file requirements
|
12
|
+
|
3
13
|
### v0.18.6 / 2022-05-02
|
4
14
|
|
5
15
|
* FIXED: RubyGems Fallback
|
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.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:
|
11
|
+
date: 2023-01-14 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.21.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.21.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
|
@@ -86,14 +86,28 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '1.
|
89
|
+
version: '1.1'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '1.
|
96
|
+
version: '1.1'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: opentelemetry-test-helpers
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: rspec-mocks
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,14 +128,14 @@ dependencies:
|
|
114
128
|
requirements:
|
115
129
|
- - "~>"
|
116
130
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
131
|
+
version: 1.41.1
|
118
132
|
type: :development
|
119
133
|
prerelease: false
|
120
134
|
version_requirements: !ruby/object:Gem::Requirement
|
121
135
|
requirements:
|
122
136
|
- - "~>"
|
123
137
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
138
|
+
version: 1.41.1
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
140
|
name: ruby-kafka
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -198,14 +212,14 @@ files:
|
|
198
212
|
- lib/opentelemetry/instrumentation/ruby_kafka/patches/producer.rb
|
199
213
|
- lib/opentelemetry/instrumentation/ruby_kafka/utils.rb
|
200
214
|
- lib/opentelemetry/instrumentation/ruby_kafka/version.rb
|
201
|
-
homepage: https://github.com/open-telemetry/opentelemetry-ruby
|
215
|
+
homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
|
202
216
|
licenses:
|
203
217
|
- Apache-2.0
|
204
218
|
metadata:
|
205
|
-
changelog_uri: https://
|
206
|
-
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/ruby_kafka
|
207
|
-
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
|
208
|
-
documentation_uri: https://
|
219
|
+
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-ruby_kafka/0.19.1/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.19.1
|
209
223
|
post_install_message:
|
210
224
|
rdoc_options: []
|
211
225
|
require_paths:
|
@@ -214,7 +228,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
214
228
|
requirements:
|
215
229
|
- - ">="
|
216
230
|
- !ruby/object:Gem::Version
|
217
|
-
version: 2.
|
231
|
+
version: 2.6.0
|
218
232
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
219
233
|
requirements:
|
220
234
|
- - ">="
|