Class: Zipkin::TraceCombo

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/zipkin_query/zipkin_query_types.rb

Overview

Returns a combination of trace, summary and timeline.

Constant Summary collapse

TRACE =
1
SUMMARY =
2
TIMELINE =
3
SPAN_DEPTHS =
4
FIELDS =
{
  TRACE => {:type => ::Thrift::Types::STRUCT, :name => 'trace', :class => ::Zipkin::Trace},
  SUMMARY => {:type => ::Thrift::Types::STRUCT, :name => 'summary', :class => ::Zipkin::TraceSummary, :optional => true},
  TIMELINE => {:type => ::Thrift::Types::STRUCT, :name => 'timeline', :class => ::Zipkin::TraceTimeline, :optional => true},
  SPAN_DEPTHS => {:type => ::Thrift::Types::MAP, :name => 'span_depths', :key => {:type => ::Thrift::Types::I64}, :value => {:type => ::Thrift::Types::I32}, :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



165
166
# File 'lib/zipkin_query/zipkin_query_types.rb', line 165

def validate
end