minato-trace 0.1.6.pre.4 → 0.1.6.pre.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93e2a38f5087c2f9a9e7e6435a6bf06236675afa12f488c0da1cacc7e07d681d
|
4
|
+
data.tar.gz: ae6a13cf5ea68a77adf7d761a70f07075c1d088b7e3e5f4d6cb409394c243a0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee83971d6cccd57a2fea6bf9b9ce958860149878342c3b269fd071bd147ae564dcc45514cd0bbe6f969076a1366d655a9bff0aa96e73f5ef262f84c4620b28aa
|
7
|
+
data.tar.gz: 210ce765091b1fc71168fb4b40de1a76c8ddd2bf0400a25c0f40375d557a739250aa8cab8501a5e21208eb89dd3d59ab862c2a4c7159aa8257c51806a6d89161
|
@@ -13,6 +13,8 @@ module Minato
|
|
13
13
|
private
|
14
14
|
|
15
15
|
def add_trace_to_logs(log)
|
16
|
+
return log if current_cloud_trace.nil?
|
17
|
+
|
16
18
|
trace_log = "projects/#{current_cloud_trace.trace.project_id}/traces/#{current_cloud_trace.trace.trace_id}"
|
17
19
|
|
18
20
|
log.merge({ "logging.googleapis.com/trace": trace_log,
|
data/lib/minato/trace/version.rb
CHANGED