Class: FinagleThrift::Span
- Inherits:
-
Object
- Object
- FinagleThrift::Span
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/finagle-thrift/thrift/tracing_types.rb
Constant Summary collapse
- TRACE_ID =
1- NAME =
3- ID =
4- PARENT_ID =
5- ANNOTATIONS =
6- BINARY_ANNOTATIONS =
8- FIELDS =
{ TRACE_ID => {:type => ::Thrift::Types::I64, :name => 'trace_id'}, NAME => {:type => ::Thrift::Types::STRING, :name => 'name'}, ID => {:type => ::Thrift::Types::I64, :name => 'id'}, PARENT_ID => {:type => ::Thrift::Types::I64, :name => 'parent_id', :optional => true}, ANNOTATIONS => {:type => ::Thrift::Types::LIST, :name => 'annotations', :element => {:type => ::Thrift::Types::STRUCT, :class => FinagleThrift::Annotation}}, BINARY_ANNOTATIONS => {:type => ::Thrift::Types::LIST, :name => 'binary_annotations', :element => {:type => ::Thrift::Types::STRUCT, :class => FinagleThrift::BinaryAnnotation}} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
104 |
# File 'lib/finagle-thrift/thrift/tracing_types.rb', line 104 def struct_fields; FIELDS; end |
#validate ⇒ Object
106 107 |
# File 'lib/finagle-thrift/thrift/tracing_types.rb', line 106 def validate end |