Skip to content

Core\Metrics

Counts and measures what your program does, for a monitoring system to collect. increment adds to a counter, observe records a measurement and setGauge sets a level. A program cannot read the values back.

Members

3 members.

MemberSignature
incrementincrement(string $name, { by?: uint, labels?: array<string> }): void
observeobserve(string $name, float $value, { labels?: array<string> }): void
setGaugesetGauge(string $name, float $value, { labels?: array<string> }): void