OpenTelemetry PHP

IntSum extends Message
in package

IntSum is deprecated. Use Sum with an integer value in NumberDataPoint.

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

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.
$is_monotonic  : mixed
If "true" means that the sum is monotonic.
$data_points  : mixed
Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntDataPoint 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.IntDataPoint data_points = 1;</code>
getIsMonotonic()  : bool
If "true" means that the sum is monotonic.
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.IntDataPoint data_points = 1;</code>
setIsMonotonic()  : $this
If "true" means that the sum is monotonic.

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;

$is_monotonic

If "true" means that the sum is monotonic.

protected mixed $is_monotonic = false

Generated from protobuf field bool is_monotonic = 3;

$data_points

Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntDataPoint 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\IntDataPoint[]|\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.
@type bool $is_monotonic
      If "true" means that the sum is monotonic.

}

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.IntDataPoint data_points = 1;</code>

public getDataPoints() : RepeatedField
Return values
RepeatedField

getIsMonotonic()

If "true" means that the sum is monotonic.

public getIsMonotonic() : bool

Generated from protobuf field bool is_monotonic = 3;

Return values
bool

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

setDataPoints()

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

public setDataPoints(array<string|int, IntDataPoint>|RepeatedField $var) : $this
Parameters
$var : array<string|int, IntDataPoint>|RepeatedField
Return values
$this

setIsMonotonic()

If "true" means that the sum is monotonic.

public setIsMonotonic(bool $var) : $this

Generated from protobuf field bool is_monotonic = 3;

Parameters
$var : bool
Return values
$this

        
On this page

Search results