class NoopMeter implements Meter (View source)

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.

Methods

valueRecorder(string $name, array $tags)

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

Details

ValueRecorder valueRecorder(string $name, array $tags)

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

Parameters

string $name

The name of the metric.

array $tags

The tags to associate with the metric.

Return Value

ValueRecorder