OpenTelemetry PHP

IntGauge extends Message
in package

IntGauge is deprecated. Use Gauge with an integer value in NumberDataPoint.

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

Table of Contents

Properties

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

Methods

__construct()  : mixed
Constructor.
getDataPoints()  : RepeatedField
Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntDataPoint data_points = 1;</code>
setDataPoints()  : $this
Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntDataPoint data_points = 1;</code>

Properties

$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

}

getDataPoints()

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

public getDataPoints() : RepeatedField
Return values
RepeatedField

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

        
On this page

Search results