LastValueAggregation
in package
implements
AggregationInterface
FinalYes
Tags
Table of Contents
Interfaces
Methods
- diff() : LastValueSummary
- initialize() : LastValueSummary
- merge() : LastValueSummary
- record() : void
- toData() : Gauge
Methods
diff()
public
diff(LastValueSummary $left, LastValueSummary $right) : LastValueSummary
Parameters
- $left : LastValueSummary
- $right : LastValueSummary
Return values
LastValueSummaryinitialize()
public
initialize() : LastValueSummary
Return values
LastValueSummarymerge()
public
merge(LastValueSummary $left, LastValueSummary $right) : LastValueSummary
Parameters
- $left : LastValueSummary
- $right : LastValueSummary
Return values
LastValueSummaryrecord()
public
record(LastValueSummary $summary, mixed $value, AttributesInterface $attributes, ContextInterface $context, int $timestamp) : void
Parameters
- $summary : LastValueSummary
- $value : mixed
- $attributes : AttributesInterface
- $context : ContextInterface
- $timestamp : int
toData()
public
toData(array<string|int, mixed> $attributes, array<string|int, LastValueSummary> $summaries, array<string|int, mixed> $exemplars, int $startTimestamp, int $timestamp, mixed $temporality) : Gauge
Parameters
- $attributes : array<string|int, mixed>
- $summaries : array<string|int, LastValueSummary>
- $exemplars : array<string|int, mixed>
- $startTimestamp : int
- $timestamp : int
- $temporality : mixed