interface Meter (View source)

Providers an interface to create value recorders for recording metrics.

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