|
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 | RunningTimer |
| RunningTimer 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 28 of file MetricTrait.php.
| Wikimedia\Stats\Metrics\copyToStatsdAt | ( | $statsdNamespaces | ) |
Definition at line 107 of file MetricTrait.php.
| Wikimedia\Stats\Metrics\fresh | ( | ) |
Definition at line 119 of file MetricTrait.php.
| Wikimedia\Stats\Metrics\getComponent | ( | ) |
Definition at line 39 of file MetricTrait.php.
| Wikimedia\Stats\Metrics\getLabelKeys | ( | ) |
Definition at line 71 of file MetricTrait.php.
| Wikimedia\Stats\Metrics\getName | ( | ) |
Definition at line 34 of file MetricTrait.php.
| Wikimedia\Stats\Metrics\getSampleCount | ( | ) |
Definition at line 49 of file MetricTrait.php.
| Wikimedia\Stats\Metrics\getSampleRate | ( | ) |
Definition at line 54 of file MetricTrait.php.
| Wikimedia\Stats\Metrics\getSamples | ( | ) |
Definition at line 44 of file MetricTrait.php.
| Wikimedia\Stats\Metrics\isHistogram | ( | ) |
Definition at line 125 of file MetricTrait.php.
| Wikimedia\Stats\Metrics\setLabel | ( | string | $key, |
| string | $value ) |
Definition at line 80 of file MetricTrait.php.
Referenced by Wikimedia\Stats\Metrics\setLabels().
| Wikimedia\Stats\Metrics\setLabels | ( | array | $labels | ) |
Definition at line 96 of file MetricTrait.php.
References Wikimedia\Stats\Metrics\setLabel().
| Wikimedia\Stats\Metrics\setSampleRate | ( | float | $sampleRate | ) |
Definition at line 59 of file MetricTrait.php.
| trait Wikimedia::Stats::Metrics\MetricTrait |
Implementation code common to all metric types.
Definition at line 21 of file MetricTrait.php.