struct OpenTelemetry::Proto::Metrics::V1::InstrumentationLibraryMetrics

Included Modules

Defined in:

proto/metrics.pb.cr

Constant Summary

FIELDS = {1 => {name: :instrumentation_library, pb_type: OpenTelemetry::Proto::Common::V1::InstrumentationLibrary, crystal_type: OpenTelemetry::Proto::Common::V1::InstrumentationLibrary, cast_type: OpenTelemetry::Proto::Common::V1::InstrumentationLibrary?, native: false, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :metrics, pb_type: Metric, crystal_type: Metric, cast_type: Array(Metric)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 3 => {name: :schema_url, pb_type: :string, crystal_type: String, cast_type: String?, 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(instrumentation_library : OpenTelemetry::Proto::Common::V1::InstrumentationLibrary | Nil = nil, metrics : Array(Metric) | Nil = nil, schema_url : String | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def instrumentation_library : OpenTelemetry::Proto::Common::V1::InstrumentationLibrary | Nil #

def instrumentation_library=(instrumentation_library : OpenTelemetry::Proto::Common::V1::InstrumentationLibrary | Nil) #

def metrics : Array(Metric) | Nil #

def metrics=(metrics : Array(Metric) | Nil) #

def schema_url : String | Nil #

def schema_url=(schema_url : String | Nil) #

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

def to_protobuf #