struct OpenTelemetry::Proto::Metrics::V1::ExponentialHistogram
- OpenTelemetry::Proto::Metrics::V1::ExponentialHistogram
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
proto/metrics.pb.crConstant Summary
-
FIELDS =
{1 => {name: :data_points, pb_type: ExponentialHistogramDataPoint, crystal_type: ExponentialHistogramDataPoint, cast_type: Array(ExponentialHistogramDataPoint)?, 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(ExponentialHistogramDataPoint) | 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(ExponentialHistogramDataPoint) | Nil
- #data_points=(data_points : Array(ExponentialHistogramDataPoint) | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(data_points : Array(ExponentialHistogramDataPoint) | Nil = nil, aggregation_temporality : AggregationTemporality | Nil = nil)
#