OpenTelemetry PHP

FixedSizeReservoir
in package
implements ExemplarReservoirInterface

FinalYes

Table of Contents

Interfaces

ExemplarReservoirInterface

Properties

$measurements  : int
$size  : int
$storage  : BucketStorage

Methods

__construct()  : mixed
collect()  : array<string|int, Exemplar>
offer()  : void

Properties

Methods

__construct()

public __construct([int $size = 4 ]) : mixed
Parameters
$size : int = 4

collect()

public collect(array<string|int, mixed> $dataPointAttributes) : array<string|int, Exemplar>
Parameters
$dataPointAttributes : array<string|int, mixed>
Return values
array<string|int, Exemplar>

        
On this page

Search results