kafka-opentracing 0.2.0 → 0.4.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 +7 -0
- data/Gemfile.lock +2 -2
- data/lib/kafka/tracer.rb +6 -2
- data/lib/kafka/tracer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f909e9717e13026fb1a568c18fbe3981561ba4f
|
4
|
+
data.tar.gz: c8ad1bd59b0cf13e48ecb6500529de57b4ac8efd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c87dbca22d49d0f341f954a4322b244aca196c233ac0695194e9072163d6618c80e2af39a891292a4937b57e0756319f22fda0edc6ddd0cd86daf0683ae69eb
|
7
|
+
data.tar.gz: 97c2024d4afeb1b5d866d6959344cee74cecd60895b6c0eb4a13452d76ae86ddfdc9b7733aa5379a5b5a3729f171969c721d1cc2b7462b35e076489b96584fdc
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
Changelog
|
2
2
|
=========
|
3
3
|
|
4
|
+
## 0.4.0 09/06/2019
|
5
|
+
* Use follows from relationship for consumer spans
|
6
|
+
* https://opentracing.io/docs/best-practices/#tracing-message-bus-scenarios
|
7
|
+
|
8
|
+
## 0.3.0 09/06/2019
|
9
|
+
* Yanked
|
10
|
+
|
4
11
|
## 0.2.0 08/16/2019
|
5
12
|
* Catch load errors when kafka is not present
|
6
13
|
|
data/Gemfile.lock
CHANGED
data/lib/kafka/tracer.rb
CHANGED
@@ -192,7 +192,9 @@ module Kafka
|
|
192
192
|
'message_bus.pre_fetched_in_batch' => true
|
193
193
|
}
|
194
194
|
|
195
|
-
|
195
|
+
reference = OpenTracing::Reference.follows_from(context)
|
196
|
+
|
197
|
+
tracer.start_active_span('kafka.consumer', references: [reference], tags: tags) do |scope|
|
196
198
|
begin
|
197
199
|
block.call(message)
|
198
200
|
rescue StandardError
|
@@ -232,7 +234,9 @@ module Kafka
|
|
232
234
|
'message_bus.pre_fetched_in_batch' => true
|
233
235
|
}
|
234
236
|
|
235
|
-
|
237
|
+
reference = OpenTracing::Reference.follows_from(context)
|
238
|
+
|
239
|
+
tracer.start_active_span('kafka.consumer', references: [reference], tags: tags) do |scope|
|
236
240
|
begin
|
237
241
|
yield message
|
238
242
|
rescue StandardError
|
data/lib/kafka/tracer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kafka-opentracing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Fischer
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentracing
|