14 abstract public function store(
string $key, M $metric) : void;
16 public function storeConfigBool($key,
bool $value,
string $description = null) : void
20 new M(M::STABILITY_CONFIG, M::TYPE_BOOL, $value, $description)
28 new M(M::STABILITY_CONFIG, M::TYPE_COUNTER, $value, $description)
36 new M(M::STABILITY_CONFIG, M::TYPE_GAUGE, $value, $description)
44 new M(M::STABILITY_CONFIG, M::TYPE_TIMESTAMP, $value, $description)
48 public function storeConfigText($key,
string $value,
string $description = null) : void
52 new M(M::STABILITY_CONFIG, M::TYPE_TEXT, $value, $description)
57 public function storeStableBool($key,
bool $value,
string $description = null) : void
61 new M(M::STABILITY_STABLE, M::TYPE_BOOL, $value, $description)
69 new M(M::STABILITY_STABLE, M::TYPE_COUNTER, $value, $description)
77 new M(M::STABILITY_STABLE, M::TYPE_GAUGE, $value, $description)
85 new M(M::STABILITY_STABLE, M::TYPE_TIMESTAMP, $value, $description)
89 public function storeStableText($key,
string $value,
string $description = null) : void
93 new M(M::STABILITY_STABLE, M::TYPE_TEXT, $value, $description)
102 new M(M::STABILITY_VOLATILE, M::TYPE_BOOL, $value, $description)
110 new M(M::STABILITY_VOLATILE, M::TYPE_COUNTER, $value, $description)
118 new M(M::STABILITY_VOLATILE, M::TYPE_GAUGE, $value, $description)
126 new M(M::STABILITY_VOLATILE, M::TYPE_TIMESTAMP, $value, $description)
134 new M(M::STABILITY_VOLATILE, M::TYPE_TEXT, $value, $description)
storeVolatileCounter($key, int $value, string $description=null)
storeConfigCounter($key, int $value, string $description=null)
storeStableBool($key, bool $value, string $description=null)
A metric is something we can measure about the system.
storeVolatileTimestamp($key, \DateTimeImmutable $value, string $description=null)
storeConfigTimestamp($key, \DateTimeImmutable $value, string $description=null)
storeStableGauge($key, $value, string $description=null)
storeStableCounter($key, int $value, string $description=null)
storeStableTimestamp($key, \DateTimeImmutable $value, string $description=null)
storeVolatileGauge($key, $value, string $description=null)
storeConfigText($key, string $value, string $description=null)
storeStableText($key, string $value, string $description=null)
storeVolatileBool($key, bool $value, string $description=null)
storeConfigGauge($key, $value, string $description=null)
storeVolatileText($key, string $value, string $description=null)
storeConfigBool($key, bool $value, string $description=null)