skylight-core 3.1.0.beta2 → 3.1.0.beta3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/skylight/core/sidekiq.rb +1 -2
- data/lib/skylight/core/trace.rb +1 -1
- data/lib/skylight/core/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: c0acb12b078886582ef8a98bc478aefcb06bc5610b416082866835db0d81c1a2
|
4
|
+
data.tar.gz: eb918f1553854966724dabdc4b9b7118c7f63ecbedab9fb9abb6e2349bc816cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91323780c51531157f1211640bb24f1a6bcc50662d811b9609659bb1145696a686a6f828ba5cb5a01270a736995ec6c18fa0e56b7d9a624f12aa2dc6e5501d11
|
7
|
+
data.tar.gz: 6a58ee0bae8481354eca4b9e09f06d0fed84d7b22fd0dfbfefe549b27ba9fd9352d8ba8f0eef2813f4686725f5682aa91c885bd81c4bfd15909c32e0c70f4469
|
@@ -21,8 +21,7 @@ module Skylight
|
|
21
21
|
|
22
22
|
def call(_worker, job, queue)
|
23
23
|
t { "Sidekiq middleware beginning trace" }
|
24
|
-
|
25
|
-
title = "#{job_class}#perform"
|
24
|
+
title = job['wrapped'] || job['class']
|
26
25
|
segment = "<sk-segment>#{queue}</sk-segment>"
|
27
26
|
@instrumentable.trace("#{title}#{segment}", 'app.sidekiq.worker', title) do
|
28
27
|
yield
|
data/lib/skylight/core/trace.rb
CHANGED
@@ -12,8 +12,8 @@ module Skylight::Core
|
|
12
12
|
def self.new(instrumenter, endpoint, start, cat, title=nil, desc=nil, meta=nil)
|
13
13
|
uuid = SecureRandom.uuid
|
14
14
|
inst = native_new(normalize_time(start), uuid, endpoint, meta)
|
15
|
-
inst.send(:initialize, instrumenter, cat, title, desc, meta)
|
16
15
|
inst.uuid = uuid
|
16
|
+
inst.send(:initialize, instrumenter, cat, title, desc, meta)
|
17
17
|
inst.endpoint = endpoint
|
18
18
|
inst
|
19
19
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: skylight-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.0.
|
4
|
+
version: 3.1.0.beta3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tilde, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|