OpenTelemetry PHP

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
see
https://github.com/open-telemetry/opentelemetry-specification/blob/v1.61.0/specification/metrics/sdk.md#drop-aggregation
implements

Table of Contents

Interfaces

AggregationInterface

Methods

diff()  : null
initialize()  : null
merge()  : null
record()  : void
toData()  : Gauge

Methods

diff()

public diff(mixed $left, mixed $right) : null
Parameters
$left : mixed
$right : mixed
Attributes
#[Override]
Return values
null

initialize()

public initialize() : null
Attributes
#[Override]
Return values
null

merge()

public merge(mixed $left, mixed $right) : null
Parameters
$left : mixed
$right : mixed
Attributes
#[Override]
Return values
null

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]
Return values
Gauge
On this page

Search results