OpenTelemetry PHP

SumAggregation
in package
implements AggregationInterface

FinalYes
Tags
implements

AggregationInterface<SumSummary>

Table of Contents

Interfaces

AggregationInterface

Properties

$monotonic  : bool

Methods

__construct()  : mixed
diff()  : SumSummary
initialize()  : SumSummary
merge()  : SumSummary
record()  : void
toData()  : Sum

Properties

Methods

__construct()

public __construct([bool $monotonic = false ]) : mixed
Parameters
$monotonic : bool = false

toData()

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

        
On this page

Search results