struct OpenTelemetry::Proto::Metrics::Experimental::MetricConfigResponse
- OpenTelemetry::Proto::Metrics::Experimental::MetricConfigResponse
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
proto/metrics_config_service.pb.crConstant Summary
-
FIELDS =
{1 => {name: :fingerprint, pb_type: :bytes, crystal_type: Slice(UInt8), cast_type: Slice(UInt8)?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :schedules, pb_type: MetricConfigResponse::Schedule, crystal_type: MetricConfigResponse::Schedule, cast_type: Array(MetricConfigResponse::Schedule)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 3 => {name: :suggested_wait_time_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(fingerprint : Slice(UInt8) | Nil = nil, schedules : Array(MetricConfigResponse::Schedule) | Nil = nil, suggested_wait_time_sec : Int32 | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #fingerprint : Slice(UInt8) | Nil
- #fingerprint=(fingerprint : Slice(UInt8) | Nil)
- #schedules : Array(MetricConfigResponse::Schedule) | Nil
- #schedules=(schedules : Array(MetricConfigResponse::Schedule) | Nil)
- #suggested_wait_time_sec : Int32 | Nil
- #suggested_wait_time_sec=(suggested_wait_time_sec : Int32 | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(fingerprint : Slice(UInt8) | Nil = nil, schedules : Array(MetricConfigResponse::Schedule) | Nil = nil, suggested_wait_time_sec : Int32 | Nil = nil)
#