Lines Matching refs:fields

73      * @param array $fields
77 public function checkStatus(Response $response, array $fields, string $type)
89 $this->$method($body, array_merge($this->defaultFields, $fields));
96 * @param array $fields
107 array $fields,
117 if ($startTimeTimestamp && $fields['start time'][0] === '\\') {
118 $fields['start time'] = '\d+';
121 foreach ($fields as $name => $value) {
146 * @param array $fields
148 protected function checkStatusPlain(string $body, array $fields)
150 $this->makeStatusCheck($body, $fields, "%s:\s+%s\n");
157 * @param array $fields
159 protected function checkStatusHtml(string $body, array $fields)
170 $fields,
181 * @param array $fields
183 protected function checkStatusXml(string $body, array $fields)
187 $fields,
204 * @param array $fields
206 protected function checkStatusJson(string $body, array $fields)
210 $fields,
230 * @param array $fields
232 protected function checkStatusOpenmetrics(string $body, array $fields)
234 …$pattern = "(# HELP phpfpm_up Could pool " . $fields['pool'] . " using a " . $fields['process mana…
239 "phpfpm_start_since " . $fields['start since'] . "\n" .
242 "phpfpm_accepted_connections " . $fields['accepted conn'] . "\n" .
245 "phpfpm_listen_queue " . $fields['listen queue'] . "\n" .
248 "phpfpm_max_listen_queue " . $fields['max listen queue'] . "\n" .
251 "phpfpm_listen_queue_length " . $fields['listen queue len'] . "\n" .
254 "phpfpm_idle_processes " . $fields['idle processes'] . "\n" .
257 "phpfpm_active_processes " . $fields['active processes'] . "\n" .
260 "phpfpm_total_processes " . $fields['total processes'] . "\n" .
263 "phpfpm_max_active_processes " . $fields['max active processes'] . "\n" .
266 "phpfpm_max_children_reached " . $fields['max children reached'] . "\n" .
269 "phpfpm_slow_requests " . $fields['slow requests'] . "\n" .
272 "phpfpm_memory_peak " . $fields['memory peak'] . "\n" .