Class: Zipkin::TraceTimeline
- Inherits:
-
Object
- Object
- Zipkin::TraceTimeline
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/zipkin_query/zipkin_query_types.rb,
lib/thrift/thrift/gen-rb/zipkin_query_types.rb
Overview
This sums up a single Trace to make it easy for a client to get an overview of what happened.
Constant Summary collapse
- TRACE_ID =
1
- ROOT_MOST_SPAN_ID =
2
- ANNOTATIONS =
6
- BINARY_ANNOTATIONS =
7
- FIELDS =
{ TRACE_ID => {:type => ::Thrift::Types::I64, :name => 'trace_id'}, ROOT_MOST_SPAN_ID => {:type => ::Thrift::Types::I64, :name => 'root_most_span_id'}, ANNOTATIONS => {:type => ::Thrift::Types::LIST, :name => 'annotations', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Zipkin::TimelineAnnotation}}, BINARY_ANNOTATIONS => {:type => ::Thrift::Types::LIST, :name => 'binary_annotations', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Zipkin::BinaryAnnotation}} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
140 |
# File 'lib/zipkin_query/zipkin_query_types.rb', line 140 def struct_fields; FIELDS; end |
#validate ⇒ Object
142 143 |
# File 'lib/zipkin_query/zipkin_query_types.rb', line 142 def validate end |