struct OpenTelemetry::Proto::Metrics::Experimental::MetricConfigRequest

Included Modules

Defined in:

proto/metrics_config_service.pb.cr

Constant Summary

FIELDS = {1 => {name: :resource, pb_type: OpenTelemetry::Proto::Resource::V1::Resource, crystal_type: OpenTelemetry::Proto::Resource::V1::Resource, cast_type: OpenTelemetry::Proto::Resource::V1::Resource?, native: false, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :last_known_fingerprint, pb_type: :bytes, crystal_type: Slice(UInt8), cast_type: Slice(UInt8)?, 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(resource : OpenTelemetry::Proto::Resource::V1::Resource | Nil = nil, last_known_fingerprint : Slice(UInt8) | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def last_known_fingerprint : Slice(UInt8) | Nil #

def last_known_fingerprint=(last_known_fingerprint : Slice(UInt8) | Nil) #


def resource=(resource : OpenTelemetry::Proto::Resource::V1::Resource | Nil) #

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

def to_protobuf #