struct OpenTelemetry::Proto::Trace::V1::Span::Event

Included Modules

Defined in:

proto/trace.pb.cr

Constant Summary

FIELDS = {1 => {name: :time_unix_nano, pb_type: :fixed64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :attributes, pb_type: OpenTelemetry::Proto::Common::V1::KeyValue, crystal_type: OpenTelemetry::Proto::Common::V1::KeyValue, cast_type: Array(OpenTelemetry::Proto::Common::V1::KeyValue)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 4 => {name: :dropped_attributes_count, pb_type: :uint32, crystal_type: UInt32, cast_type: UInt32?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

def self.new(time_unix_nano : UInt64 | Nil = nil, name : String | Nil = nil, attributes : Array(OpenTelemetry::Proto::Common::V1::KeyValue) | Nil = nil, dropped_attributes_count : UInt32 | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def attributes : Array(OpenTelemetry::Proto::Common::V1::KeyValue) | Nil #

def attributes=(attributes : Array(OpenTelemetry::Proto::Common::V1::KeyValue) | Nil) #

def dropped_attributes_count : UInt32 | Nil #

def dropped_attributes_count=(dropped_attributes_count : UInt32 | Nil) #

def name : String | Nil #

def name=(name : String | Nil) #

def time_unix_nano : UInt64 | Nil #

def time_unix_nano=(time_unix_nano : UInt64 | Nil) #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #