Documentation

NoopMeter
in package
implements Meter

Implements a no-op meter which performs no metrics instrumentation. Note that to reduce the performance impact of using this meter, this class is not actually used by the SDK, and simply acts as a placeholder which triggers a native implementation to be used instead.

Interfaces, Classes, Traits and Enums

Meter
Providers an interface to create value recorders for recording metrics.

Table of Contents

valueRecorder()  : ValueRecorder
Creates a new value recorder for a metric with the specified tags.

Methods

valueRecorder()

Creates a new value recorder for a metric with the specified tags.

public valueRecorder(string $name, array<string|int, mixed> $tags) : ValueRecorder
Parameters
$name : string

The name of the metric.

$tags : array<string|int, mixed>

The tags to associate with the metric.

Return values
ValueRecorder

        

Search results