NoopMeter 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.
- Providers an interface to create value recorders for recording metrics.
Creates a new value recorder for a metric with the specified tags.
public valueRecorder(string $name, array<string|int, mixed> $tags) : ValueRecorder
- $name : string
The name of the metric.
- $tags : array<string|int, mixed>
The tags to associate with the metric.