Lines Matching refs:metric
30 protected $metric;
34 $metric = $this->metric ?? null;
37 if (isset($index) && isset($metric)) {
38 return "/$index/_stats/$metric";
40 if (isset($metric)) {
41 return "/_stats/$metric";
70 public function setMetric($metric): Stats
72 if (isset($metric) !== true) {
75 if (is_array($metric) === true) {
76 $metric = implode(",", $metric);
78 $this->metric = $metric;