OpenTelemetry PHP

ObserverInterface

Table of Contents

Methods

observe()  : void
Records the given absolute datapoint.

Methods

observe()

Records the given absolute datapoint.

public observe(float|int $amount[, iterable<non-empty-string, string|bool|float|int|array<string|int, mixed>|null> $attributes = [] ]) : void
Parameters
$amount : float|int

observed amount

$attributes : iterable<non-empty-string, string|bool|float|int|array<string|int, mixed>|null> = []

attributes of the data point


        
On this page

Search results