NoopMetricsRecorder
in package
implements
MetricsRecorder
FinalYes
Default recorder; the application opts into exporting observations.
Table of Contents
Interfaces
- MetricsRecorder
- Application-owned sink for process observations, with no exporter dependency.
Methods
- increment() : void
- record() : void
Methods
increment()
public
increment(string $name[, float $value = 1.0 ][, array<string|int, mixed> $tags = [] ]) : void
Parameters
- $name : string
- $value : float = 1.0
- $tags : array<string|int, mixed> = []
record()
public
record(string $name, float $value[, array<string|int, mixed> $tags = [] ]) : void
Parameters
- $name : string
- $value : float
- $tags : array<string|int, mixed> = []