activerecord-opentracing 0.2.0 → 0.2.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
- SHA1:
3
- metadata.gz: ed89ef2d89d97aaf7687a8316fbe7b49d635f26f
4
- data.tar.gz: c5c01c72da5576edfad1b25931c689c451077f1b
2
+ SHA256:
3
+ metadata.gz: 4b36b1d90be4d3527637f7513f9e0fae519ca50790ced50ca46a0ba82da70dc6
4
+ data.tar.gz: '09c74ce0a92769d537c8569ca39cccfc90d4d86d34807d47c79110b38d0d8ba4'
5
5
  SHA512:
6
- metadata.gz: 595053afc7b8a8104aff3b2bf52db6f2b86188d2d0cb9ef52592e235783a8b0266af4df593fbecd5d6522f729be5c981327af0391051f5e35b6e951cd82f5224
7
- data.tar.gz: b011e5bb779d7d86f723308396c3edfd8a89d65136f104c7b6323c62f77205ddb588bbea6ff82269b14bc09e7d3e08e7a523aa7a04b11127b22590840779d34d
6
+ metadata.gz: 6cdb542fbdfa6ca66c8b45be8184fb55f23c53f04e9da6eae824e6fe0c118ffde8b1a53bc908b53bedd7d677511c6cee55545a86ed92717c72c0379541da60db
7
+ data.tar.gz: 6427b24bdf74062e49f8e22ae8a305fbc62ff139f035bc33f9771a4252ef11cba5c4fca372c45ee2e65460875c831fccc7e53316911481ad8542118d60f7468d
@@ -17,18 +17,18 @@ module ActiveRecord
17
17
  payload[:name] || DEFAULT_OPERATION_NAME,
18
18
  start_time: start,
19
19
  tags: {
20
- component: COMPONENT_NAME,
21
- :'span.kind' => SPAN_KIND,
22
- :'db.instance' => db_instance,
23
- :'db.cached' => payload.fetch(:cached, false),
24
- :'db.statement' => payload.fetch(:sql).squish,
25
- :'db.type' => DB_TYPE,
26
- :'peer.address' => db_address
20
+ 'component' => COMPONENT_NAME,
21
+ 'span.kind' => SPAN_KIND,
22
+ 'db.instance' => db_instance,
23
+ 'db.cached' => payload.fetch(:cached, false),
24
+ 'db.statement' => payload.fetch(:sql).squish,
25
+ 'db.type' => DB_TYPE,
26
+ 'peer.address' => db_address
27
27
  }
28
28
  )
29
29
 
30
30
  if (exception = payload[:exception_object])
31
- span.set_tag(:error, true)
31
+ span.set_tag('error', true)
32
32
  span.log_kv(
33
33
  event: 'error',
34
34
  :'error.kind' => exception.class.to_s,
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActiveRecord
4
4
  module OpenTracing
5
- VERSION = '0.2.0'.freeze
5
+ VERSION = '0.2.1'.freeze
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-opentracing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - SaleMove TechMovers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-09 00:00:00.000000000 Z
11
+ date: 2018-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -177,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
177
177
  version: '0'
178
178
  requirements: []
179
179
  rubyforge_project:
180
- rubygems_version: 2.6.11
180
+ rubygems_version: 2.7.6
181
181
  signing_key:
182
182
  specification_version: 4
183
183
  summary: ActiveRecord OpenTracing intrumenter