struct OpenTelemetry::Proto::Metrics::V1::Histogram
- OpenTelemetry::Proto::Metrics::V1::Histogram
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
proto/metrics.pb.crConstant Summary
-
FIELDS =
{1 => {name: :data_points, pb_type: HistogramDataPoint, crystal_type: HistogramDataPoint, cast_type: Array(HistogramDataPoint)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 2 => {name: :aggregation_temporality, pb_type: AggregationTemporality, crystal_type: AggregationTemporality, cast_type: AggregationTemporality?, native: false, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
- .new(buf : Protobuf::Buffer)
- .new(data_points : Array(HistogramDataPoint) | Nil = nil, aggregation_temporality : AggregationTemporality | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #aggregation_temporality : AggregationTemporality | Nil
- #aggregation_temporality=(aggregation_temporality : AggregationTemporality | Nil)
- #data_points : Array(HistogramDataPoint) | Nil
- #data_points=(data_points : Array(HistogramDataPoint) | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(data_points : Array(HistogramDataPoint) | Nil = nil, aggregation_temporality : AggregationTemporality | Nil = nil)
#