Lines Matching refs:metric
31 protected $metric;
36 $metric = $this->metric ?? null;
38 if (isset($node_id) && isset($metric)) {
39 return "/_nodes/$node_id/usage/$metric";
44 if (isset($metric)) {
45 return "/_nodes/usage/$metric";
75 public function setMetric($metric): Usage
77 if (isset($metric) !== true) {
80 if (is_array($metric) === true) {
81 $metric = implode(",", $metric);
83 $this->metric = $metric;