Class: Zipkin::TraceTimeline

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/zipkin_query/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_fieldsObject



140
# File 'lib/zipkin_query/zipkin_query_types.rb', line 140

def struct_fields; FIELDS; end

#validateObject



142
143
# File 'lib/zipkin_query/zipkin_query_types.rb', line 142

def validate
end