struct OpenTelemetry::Proto::Metrics::Experimental::MetricConfigResponse::Schedule
Included Modules
- Protobuf::Message
Defined in:
proto/metrics_config_service.pb.crConstant 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
- .new(buf : Protobuf::Buffer)
- .new(exclusion_patterns : Array(MetricConfigResponse::Schedule::Pattern) | Nil = nil, inclusion_patterns : Array(MetricConfigResponse::Schedule::Pattern) | Nil = nil, period_sec : Int32 | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #exclusion_patterns : Array(MetricConfigResponse::Schedule::Pattern) | Nil
- #exclusion_patterns=(exclusion_patterns : Array(MetricConfigResponse::Schedule::Pattern) | Nil)
- #inclusion_patterns : Array(MetricConfigResponse::Schedule::Pattern) | Nil
- #inclusion_patterns=(inclusion_patterns : Array(MetricConfigResponse::Schedule::Pattern) | Nil)
- #period_sec : Int32 | Nil
- #period_sec=(period_sec : Int32 | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
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
Instance Method Detail
def exclusion_patterns=(exclusion_patterns : Array(MetricConfigResponse::Schedule::Pattern) | Nil)
#
def inclusion_patterns=(inclusion_patterns : Array(MetricConfigResponse::Schedule::Pattern) | Nil)
#