DropAggregation
in package
implements
AggregationInterface
FinalYes
Drops all measurements. A view with this aggregation registers no stream, so an instrument with no other view is disabled.
Tags
Table of Contents
Interfaces
Methods
Methods
diff()
public
diff(mixed $left, mixed $right) : null
Parameters
- $left : mixed
- $right : mixed
Attributes
- #[Override]
Return values
nullinitialize()
public
initialize() : null
Attributes
- #[Override]
Return values
nullmerge()
public
merge(mixed $left, mixed $right) : null
Parameters
- $left : mixed
- $right : mixed
Attributes
- #[Override]
Return values
nullrecord()
public
record(mixed $summary, mixed $value, AttributesInterface $attributes, ContextInterface $context, int $timestamp) : void
Parameters
- $summary : mixed
- $value : mixed
- $attributes : AttributesInterface
- $context : ContextInterface
- $timestamp : int
Attributes
- #[Override]
toData()
public
toData(array<string|int, mixed> $attributes, array<string|int, mixed> $summaries, array<string|int, mixed> $exemplars, int $startTimestamp, int $timestamp, mixed $temporality) : Gauge
Parameters
- $attributes : array<string|int, mixed>
- $summaries : array<string|int, mixed>
- $exemplars : array<string|int, mixed>
- $startTimestamp : int
- $timestamp : int
- $temporality : mixed
Attributes
- #[Override]