OpenTelemetry PHP

ExponentialHistogram extends Message
in package

ExponentialHistogram represents the type of a metric that is calculated by aggregating as a ExponentialHistogram of all reported double measurements over a time interval.

Generated from protobuf message opentelemetry.proto.metrics.v1.ExponentialHistogram

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.ExponentialHistogramDataPoint 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.ExponentialHistogramDataPoint 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.ExponentialHistogramDataPoint 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.ExponentialHistogramDataPoint 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\ExponentialHistogramDataPoint[]|\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
int

getDataPoints()

Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint data_points = 1;</code>

public getDataPoints() : RepeatedField
Return values
RepeatedField

setAggregationTemporality()

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
$this

        
On this page

Search results