OpenTelemetry PHP

Summary extends Message
in package

Summary metric data are used to convey quantile summaries, a Prometheus (see: https://prometheus.io/docs/concepts/metric_types/#summary) and OpenMetrics (see: https://github.com/OpenObservability/OpenMetrics/blob/4dbf6075567ab43296eed941037c12951faafb92/protos/prometheus.proto#L45) data type. These data points cannot always be merged in a meaningful way.

While they can be useful in some applications, histogram data points are recommended for new applications.

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

Table of Contents

Properties

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

Methods

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

Properties

$data_points

Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint 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\SummaryDataPoint[]|\Google\Protobuf\Internal\RepeatedField $data_points

}

getDataPoints()

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

public getDataPoints() : RepeatedField
Return values
RepeatedField

setDataPoints()

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

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

        
On this page

Search results