Class: Zipkin::TraceSummary
- Inherits:
-
Object
- Object
- Zipkin::TraceSummary
- 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
- START_TIMESTAMP =
2
- END_TIMESTAMP =
3
- DURATION_MICRO =
4
- SERVICE_COUNTS =
5
- ENDPOINTS =
6
- FIELDS =
{ TRACE_ID => {:type => ::Thrift::Types::I64, :name => 'trace_id'}, START_TIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'start_timestamp'}, END_TIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'end_timestamp'}, DURATION_MICRO => {:type => ::Thrift::Types::I32, :name => 'duration_micro'}, SERVICE_COUNTS => {:type => ::Thrift::Types::MAP, :name => 'service_counts', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::I32}}, ENDPOINTS => {:type => ::Thrift::Types::LIST, :name => 'endpoints', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Zipkin::Endpoint}} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
88 |
# File 'lib/zipkin_query/zipkin_query_types.rb', line 88 def struct_fields; FIELDS; end |
#validate ⇒ Object
90 91 |
# File 'lib/zipkin_query/zipkin_query_types.rb', line 90 def validate end |