MetricInterface

interface MetricInterface

Constants

TYPE_SNAPSHOT

TYPE_PERIOD_DAY

TYPE_PERIOD_MONTH

Methods summary

Return Type Method Name Description
UsageInterface usage() -
withUsage(UsageInterface $usage = null) -
UnitInterface; units() -
string systemName() Canonical name to be used by code and between systems
string displayName() Name to render in UI to users
string type() One of the TYPE_* constants of this instance

Details

UsageInterface usage ()

Return Value

UsageInterface

withUsage (UsageInterface $usage = null)

Parameters

UsageInterface $usage

UnitInterface; units ()

Return Value

UnitInterface;

string systemName ()

Canonical name to be used by code and between systems

Return Value

string

string displayName ()

Name to render in UI to users

Return Value

string

string type ()

One of the TYPE_* constants of this instance

Return Value

string