action_subscriber-opentracing 1.0.1 → 1.0.2

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: 391fcf0384ab422d08ced04a89987a9cb852914a5281902621d5cb8bf59ff453
4
- data.tar.gz: 9e0269cfba31b7bf49491568145097ebb76018f6f745f15bcdf456bd86076d55
3
+ metadata.gz: d82c8b69c1924418af9d29e59d4d3e27b31c11be5f7361a9ab97dd62ab7aba96
4
+ data.tar.gz: 99079770371b9b4496db0eb5d8adb6e05d661acf06b861698aff83914e82abf0
5
5
  SHA512:
6
- metadata.gz: bbcc82b2fd8bfca37320ba487d19afa6f1f1bc6af08d817aaa83270e7b2dcf33c3cdd323f5d374d9b29496ef24df5c2d8e39b0194db90017ac5a19ed6826a147
7
- data.tar.gz: 33f2c715ff9f92f8bef57d1d1f6aba10d6eaf253a6b1a8184df6d66e5589b6884324fa7bbe40e122c727803ba7b9551eb85062459b4f3ef3369cb16812732541
6
+ metadata.gz: 84ab5c51411c347ce89515c1e7693c6b5a27ff166c739ca55ec1e34736d33f814fdac99fd9fc1e3e88479a21fe84ba464a867dc320921ce4361f91eaea1e8e47
7
+ data.tar.gz: 55b2290ceedecce72cd6c2906276e7f82f533f021dfcf73a1ce567063d2d01b3e060e09822accc2d2931d9dea7eee2910dc0cd05e495a217cf1c63cac3b15c92
@@ -17,9 +17,10 @@ module ActionSubscriber
17
17
  options = {}
18
18
  options[:references] = [::OpenTracing::Reference.follows_from(parent)] if parent
19
19
  options[:tags] = {}
20
- options[:tags]["routing_key"] = env.routing_key
21
- options[:tags]["published_at"] = published_at if published_at
22
- options[:tags]["processed_at"] = Time.now.strftime("%F %T.%3N %Z")
20
+ options[:tags]["span.kind"] = "consumer"
21
+ options[:tags]["message_bus.destination"] = env.routing_key
22
+ options[:tags]["message_bus.published_at"] = published_at if published_at
23
+ options[:tags]["message_bus.processed_at"] = Time.now.strftime("%F %T.%3N %Z")
23
24
 
24
25
  result = nil
25
26
  ::OpenTracing.start_active_span(operation, options) do
@@ -1,5 +1,5 @@
1
1
  module ActionSubscriber
2
2
  module OpenTracing
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_subscriber-opentracing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcos Minond
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-04-17 00:00:00.000000000 Z
11
+ date: 2019-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentracing