Class: Zipkin::Annotation
- Inherits:
-
Object
- Object
- Zipkin::Annotation
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/zipkin_query/zipkin_core_types.rb,
lib/thrift/thrift/gen-rb/zipkin_core_types.rb
Constant Summary collapse
- TIMESTAMP =
1
- VALUE =
2
- HOST =
3
- DURATION =
4
- FIELDS =
{ TIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'timestamp'}, VALUE => {:type => ::Thrift::Types::STRING, :name => 'value'}, HOST => {:type => ::Thrift::Types::STRUCT, :name => 'host', :class => ::Zipkin::Endpoint, :optional => true}, DURATION => {:type => ::Thrift::Types::I32, :name => 'duration', :optional => true} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
56 |
# File 'lib/zipkin_query/zipkin_core_types.rb', line 56 def struct_fields; FIELDS; end |
#validate ⇒ Object
58 59 |
# File 'lib/zipkin_query/zipkin_core_types.rb', line 58 def validate end |