MediaWiki master
|
Classes | |
class | BaseMetric |
Base Metric Implementation V1. More... | |
interface | BaseMetricInterface |
Base Metric Interface. More... | |
class | CounterMetric |
Counter Metric Implementation. More... | |
class | GaugeMetric |
Gauge Metric Implementation. More... | |
class | HistogramMetric |
Histogram Metric Implementation. More... | |
interface | MetricInterface |
Metric Interface. More... | |
class | NullMetric |
Null Metric Implementation. More... | |
class | TimingMetric |
Timing Metric Implementation. More... | |
Functions | |
__construct ( $baseMetric, $logger) | |
copyToStatsdAt ( $statsdNamespaces) | |
fresh () | |
getComponent () | |
getLabelKeys () | |
getName () | |
getSampleCount () | |
getSampleRate () | |
getSamples () | |
isHistogram () | |
setLabel (string $key, string $value) | |
setLabels (array $labels) | |
setSampleRate (float $sampleRate) | |
Variables | |
trait | MetricTrait |
Implementation code common to all metric types. | |
Wikimedia\Stats\Metrics\__construct | ( | $baseMetric, | |
$logger ) |
Definition at line 41 of file MetricTrait.php.
Wikimedia\Stats\Metrics\copyToStatsdAt | ( | $statsdNamespaces | ) |
Definition at line 120 of file MetricTrait.php.
Wikimedia\Stats\Metrics\fresh | ( | ) |
Definition at line 132 of file MetricTrait.php.
Wikimedia\Stats\Metrics\getComponent | ( | ) |
Definition at line 52 of file MetricTrait.php.
Wikimedia\Stats\Metrics\getLabelKeys | ( | ) |
Definition at line 84 of file MetricTrait.php.
Wikimedia\Stats\Metrics\getName | ( | ) |
Definition at line 47 of file MetricTrait.php.
Wikimedia\Stats\Metrics\getSampleCount | ( | ) |
Definition at line 62 of file MetricTrait.php.
Wikimedia\Stats\Metrics\getSampleRate | ( | ) |
Definition at line 67 of file MetricTrait.php.
Wikimedia\Stats\Metrics\getSamples | ( | ) |
Definition at line 57 of file MetricTrait.php.
Wikimedia\Stats\Metrics\isHistogram | ( | ) |
Definition at line 138 of file MetricTrait.php.
Wikimedia\Stats\Metrics\setLabel | ( | string | $key, |
string | $value ) |
Definition at line 93 of file MetricTrait.php.
Referenced by Wikimedia\Stats\Metrics\setLabels().
Wikimedia\Stats\Metrics\setLabels | ( | array | $labels | ) |
Definition at line 109 of file MetricTrait.php.
References Wikimedia\Stats\Metrics\setLabel().
Wikimedia\Stats\Metrics\setSampleRate | ( | float | $sampleRate | ) |
Definition at line 72 of file MetricTrait.php.
trait Wikimedia::Stats::Metrics\MetricTrait |
Implementation code common to all metric types.
Definition at line 34 of file MetricTrait.php.