struct OpenTelemetry::Proto::Metrics::Experimental::MetricConfigResponse::Schedule

Included Modules

Defined in:

proto/metrics_config_service.pb.cr

Constant Summary

FIELDS = {1 => {name: :exclusion_patterns, pb_type: MetricConfigResponse::Schedule::Pattern, crystal_type: MetricConfigResponse::Schedule::Pattern, cast_type: Array(MetricConfigResponse::Schedule::Pattern)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 2 => {name: :inclusion_patterns, pb_type: MetricConfigResponse::Schedule::Pattern, crystal_type: MetricConfigResponse::Schedule::Pattern, cast_type: Array(MetricConfigResponse::Schedule::Pattern)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 3 => {name: :period_sec, pb_type: :int32, crystal_type: Int32, cast_type: Int32?, 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(exclusion_patterns : Array(MetricConfigResponse::Schedule::Pattern) | Nil = nil, inclusion_patterns : Array(MetricConfigResponse::Schedule::Pattern) | Nil = nil, period_sec : Int32 | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def exclusion_patterns : Array(MetricConfigResponse::Schedule::Pattern) | Nil #

def exclusion_patterns=(exclusion_patterns : Array(MetricConfigResponse::Schedule::Pattern) | Nil) #

def inclusion_patterns : Array(MetricConfigResponse::Schedule::Pattern) | Nil #

def inclusion_patterns=(inclusion_patterns : Array(MetricConfigResponse::Schedule::Pattern) | Nil) #

def period_sec : Int32 | Nil #

def period_sec=(period_sec : Int32 | Nil) #

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

def to_protobuf #