Class: Trace::Annotation

Inherits:
Object
  • Object
show all
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_hObject



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