Meter
in
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.