Class: Trace::Annotation
- Inherits:
-
Object
- Object
- Trace::Annotation
- Defined in:
- lib/zipkin-tracer/trace.rb
Overview
This class is defined in finagle-thrift. We are adding extra methods here
Instance Method Summary collapse
Instance Method Details
#to_h ⇒ Object
73 74 75 76 77 78 79 |
# File 'lib/zipkin-tracer/trace.rb', line 73 def to_h { value: @value, timestamp: @timestamp, endpoint: host.to_h } end |