sequel-honeycomb 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sequel/extensions/honeycomb.rb +3 -4
- data/lib/sequel/honeycomb/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e64b15ca4ec6423d705f123a92450fe17e2c2d940d57826d278336018bedd369
|
4
|
+
data.tar.gz: ccef12c433028540e7a7ae2ca025acf936c66e3c4206d5d8f4faa51aa00db106
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 08001b6e4ac38d18f97b515478c526ff8d0339f7ccbe8dd39a71d896ef04012962e9cf20286c2c0ac8ac57dd06fa0380ff99dcd0503d1c25d54075aeb10a6b3f
|
7
|
+
data.tar.gz: cd3c272a5d18eeb8a2f2d7bba1969ffab1f03af2f9d4543c26420cb1d48e3e38add07e60513b0aa8fe17de8be120009e27201cb2f96e01061678960d22d4b05d
|
@@ -62,13 +62,12 @@ module Sequel
|
|
62
62
|
|
63
63
|
trace_id = ::Honeycomb.trace_id
|
64
64
|
|
65
|
-
event.add_field
|
65
|
+
event.add_field 'trace.trace_id', trace_id if trace_id
|
66
66
|
span_id = SecureRandom.uuid
|
67
|
-
event.add_field
|
68
|
-
event.add_field :serviceName, 'sequel'
|
67
|
+
event.add_field 'trace.span_id', span_id
|
69
68
|
|
70
69
|
::Honeycomb.with_span_id(span_id) do |parent_span_id|
|
71
|
-
event.add_field
|
70
|
+
event.add_field 'trace.parent_id', parent_span_id
|
72
71
|
yield
|
73
72
|
end
|
74
73
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sequel-honeycomb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Stokes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05-
|
11
|
+
date: 2018-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: libhoney
|