struct OpenTelemetry::Proto::Metrics::V1::MetricsData

Included Modules

Defined in:

proto/metrics.pb.cr

Constant Summary

FIELDS = {1 => {name: :resource_metrics, pb_type: ResourceMetrics, crystal_type: ResourceMetrics, cast_type: Array(ResourceMetrics)?, native: false, optional: true, repeated: true, 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(resource_metrics : Array(ResourceMetrics) | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def resource_metrics : Array(ResourceMetrics) | Nil #

def resource_metrics=(resource_metrics : Array(ResourceMetrics) | Nil) #

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

def to_protobuf #