logasm-tracer 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/logasm/tracer.rb +3 -3
- data/lib/logasm/tracer/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 855dc6c7e846eaa9aef14269dc21261aacc24ee3
|
4
|
+
data.tar.gz: c2bea15d8a140de1930be131b11d02a021744fcb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 804b5854d889fc72fff9d8cba895829db782116485474ec5c4568714676eb57d2183fe52d88525d2730dcb0d00a6a25fc0838d711ae27c88f3705d0c4c550812
|
7
|
+
data.tar.gz: ff9ffe2acca5942c03da1402ab0c524121064d2a9d6af4d876d112c0cb6f38e22a2dae76c8e30988d949b62213b3f3ef592529157e7a23da1f2e0b12f3551f21
|
data/lib/logasm/tracer.rb
CHANGED
@@ -77,9 +77,9 @@ class Logasm
|
|
77
77
|
nil
|
78
78
|
end
|
79
79
|
when FORMAT_RACK
|
80
|
-
trace_id = carrier['
|
81
|
-
parent_id = carrier['
|
82
|
-
span_id = carrier['
|
80
|
+
trace_id = carrier['HTTP_X_TRACE_ID']
|
81
|
+
parent_id = carrier['HTTP_X_TRACE_PARENT_ID']
|
82
|
+
span_id = carrier['HTTP_X_TRACE_SPAN_ID']
|
83
83
|
|
84
84
|
if trace_id && span_id
|
85
85
|
SpanContext.new(trace_id: trace_id, parent_id: parent_id, span_id: span_id)
|