IntHistogram
extends Message
in package
IntHistogram is deprecated, replaced by Histogram points using double- valued exemplars.
Generated from protobuf message opentelemetry.proto.metrics.v1.IntHistogram
Table of Contents
Properties
- $aggregation_temporality : mixed
- aggregation_temporality describes if the aggregator reports delta changes since last report time, or cumulative changes since a fixed start time.
- $data_points : mixed
- Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntHistogramDataPoint data_points = 1;</code>
Methods
- __construct() : mixed
- Constructor.
- getAggregationTemporality() : int
- aggregation_temporality describes if the aggregator reports delta changes since last report time, or cumulative changes since a fixed start time.
- getDataPoints() : RepeatedField
- Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntHistogramDataPoint data_points = 1;</code>
- setAggregationTemporality() : $this
- aggregation_temporality describes if the aggregator reports delta changes since last report time, or cumulative changes since a fixed start time.
- setDataPoints() : $this
- Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntHistogramDataPoint data_points = 1;</code>
Properties
$aggregation_temporality
aggregation_temporality describes if the aggregator reports delta changes since last report time, or cumulative changes since a fixed start time.
protected
mixed
$aggregation_temporality
= 0
Generated from protobuf field .opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;
$data_points
Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntHistogramDataPoint data_points = 1;</code>
private
mixed
$data_points
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
- $data : array<string|int, mixed> = NULL
-
{ Optional. Data for populating the Message object.
@type \Opentelemetry\Proto\Metrics\V1\IntHistogramDataPoint[]|\Google\Protobuf\Internal\RepeatedField $data_points @type int $aggregation_temporality aggregation_temporality describes if the aggregator reports delta changes since last report time, or cumulative changes since a fixed start time.
}
getAggregationTemporality()
aggregation_temporality describes if the aggregator reports delta changes since last report time, or cumulative changes since a fixed start time.
public
getAggregationTemporality() : int
Generated from protobuf field .opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;
Return values
intgetDataPoints()
Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntHistogramDataPoint data_points = 1;</code>
public
getDataPoints() : RepeatedField
Return values
RepeatedFieldsetAggregationTemporality()
aggregation_temporality describes if the aggregator reports delta changes since last report time, or cumulative changes since a fixed start time.
public
setAggregationTemporality(int $var) : $this
Generated from protobuf field .opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;
Parameters
- $var : int
Return values
$thissetDataPoints()
Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntHistogramDataPoint data_points = 1;</code>
public
setDataPoints(array<string|int, IntHistogramDataPoint>|RepeatedField $var) : $this
Parameters
- $var : array<string|int, IntHistogramDataPoint>|RepeatedField