OpenTelemetry PHP

ExplicitBucketHistogramAggregation
in package
implements AggregationInterface

FinalYes
Tags
implements

AggregationInterface<ExplicitBucketHistogramSummary>

Table of Contents

Interfaces

AggregationInterface

Properties

$boundaries  : array<string|int, mixed>

Methods

__construct()  : mixed
diff()  : ExplicitBucketHistogramSummary
initialize()  : ExplicitBucketHistogramSummary
merge()  : ExplicitBucketHistogramSummary
record()  : void
toData()  : Histogram
max()  : float|int
min()  : float|int

Properties

Methods

__construct()

public __construct(array<int, float|int> $boundaries) : mixed
Parameters
$boundaries : array<int, float|int>

strictly ascending histogram bucket boundaries

toData()

public toData(array<string|int, mixed> $attributes, array<string|int, ExplicitBucketHistogramSummary$summaries, array<string|int, mixed> $exemplars, int $startTimestamp, int $timestamp, mixed $temporality) : Histogram
Parameters
$attributes : array<string|int, mixed>
$summaries : array<string|int, ExplicitBucketHistogramSummary>
$exemplars : array<string|int, mixed>
$startTimestamp : int
$timestamp : int
$temporality : mixed
Return values
Histogram

max()

private static max(float|int $left, float|int $right) : float|int
Parameters
$left : float|int
$right : float|int
Return values
float|int

min()

private static min(float|int $left, float|int $right) : float|int
Parameters
$left : float|int
$right : float|int
Return values
float|int

        
On this page

Search results