Class · implements MetricInterface
Metric
public function __construct($systemName, $displayName = null, $type = null, UnitInterface $units = null, UsageInterface $usage = null)Metric
Parameters
| Type | Name | Description |
|---|---|---|
string | $systemName | Canonical name to be used by code and between systems |
string | $displayName | Text containing a friendly name to render in UI to users |
string|null | $type | The metric type, one of MetricInterface::TYPE_* |
UnitInterface|null | $units | |
UsageInterface|null | $usage |
public function usage()public function withUsage(UsageInterface $usage = null)public function units()public function systemName()public function displayName()public function type()