Lines Matching refs:fields
72 * @param array $fields
76 public function checkStatus(Response $response, array $fields, string $type)
88 $this->$method($body, array_merge($this->defaultFields, $fields));
95 * @param array $fields
106 array $fields,
116 if ($startTimeTimestamp && $fields['start time'][0] === '\\') {
117 $fields['start time'] = '\d+';
120 foreach ($fields as $name => $value) {
145 * @param array $fields
147 protected function checkStatusPlain(string $body, array $fields)
149 $this->makeStatusCheck($body, $fields, "%s:\s+%s\n");
156 * @param array $fields
158 protected function checkStatusHtml(string $body, array $fields)
169 $fields,
180 * @param array $fields
182 protected function checkStatusXml(string $body, array $fields)
186 $fields,
203 * @param array $fields
205 protected function checkStatusJson(string $body, array $fields)
209 $fields,
229 * @param array $fields
231 protected function checkStatusOpenmetrics(string $body, array $fields)
233 …$pattern = "(# HELP phpfpm_up Could pool " . $fields['pool'] . " using a " . $fields['process mana…
238 "phpfpm_start_since " . $fields['start since'] . "\n" .
241 "phpfpm_accepted_connections " . $fields['accepted conn'] . "\n" .
244 "phpfpm_listen_queue " . $fields['listen queue'] . "\n" .
247 "phpfpm_max_listen_queue " . $fields['max listen queue'] . "\n" .
250 "phpfpm_listen_queue_length " . $fields['listen queue len'] . "\n" .
253 "phpfpm_idle_processes " . $fields['idle processes'] . "\n" .
256 "phpfpm_active_processes " . $fields['active processes'] . "\n" .
259 "phpfpm_total_processes " . $fields['total processes'] . "\n" .
262 "phpfpm_max_active_processes " . $fields['max active processes'] . "\n" .
265 "phpfpm_max_children_reached " . $fields['max children reached'] . "\n" .
268 "phpfpm_slow_requests " . $fields['slow requests'] . "\n" .