Skip to content

Commit c6c571d

Browse files
committed
Fix indent in FPM openmetrics status
1 parent d36ac96 commit c6c571d

File tree

1 file changed

+39
-39
lines changed

1 file changed

+39
-39
lines changed

sapi/fpm/fpm/fpm_status.c

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -394,45 +394,45 @@ int fpm_status_handle_request(void) /* {{{ */
394394
time_format = "%s";
395395

396396
short_syntax =
397-
"# HELP phpfpm_up Could pool %s using a %s PM on PHP-FPM be reached?\n"
398-
"# TYPE phpfpm_up gauge\n"
399-
"phpfpm_up 1\n"
400-
"# HELP phpfpm_start_time When FPM has started.\n"
401-
"# TYPE phpfpm_start_time gauge\n"
402-
"phpfpm_start_time %lu\n"
403-
"# HELP phpfpm_start_since_total The number of seconds since FPM has started.\n"
404-
"# TYPE phpfpm_start_since_total counter\n"
405-
"phpfpm_start_since_total %lu\n"
406-
"# HELP phpfpm_accepted_connections_total The number of requests accepted by the pool.\n"
407-
"# TYPE phpfpm_accepted_connections_total counter\n"
408-
"phpfpm_accepted_connections_total %lu\n"
409-
"# HELP phpfpm_listen_queue The number of requests in the queue of pending connections.\n"
410-
"# TYPE phpfpm_listen_queue gauge\n"
411-
"phpfpm_listen_queue %lu\n"
412-
"# HELP phpfpm_max_listen_queue_total The maximum number of requests in the queue of pending connections since FPM has started.\n"
413-
"# TYPE phpfpm_max_listen_queue_total counter\n"
414-
"phpfpm_max_listen_queue_total %d\n"
415-
"# TYPE phpfpm_listen_queue_length gauge\n"
416-
"# HELP phpfpm_listen_queue_length The size of the socket queue of pending connections.\n"
417-
"phpfpm_listen_queue_length %u\n"
418-
"# HELP phpfpm_idle_processes The number of idle processes.\n"
419-
"# TYPE phpfpm_idle_processes gauge\n"
420-
"phpfpm_idle_processes %d\n"
421-
"# HELP phpfpm_active_processes The number of active processes.\n"
422-
"# TYPE phpfpm_active_processes gauge\n"
423-
"phpfpm_active_processes %d\n"
424-
"# HELP phpfpm_total_processes The number of idle + active processes.\n"
425-
"# TYPE phpfpm_total_processes gauge\n"
426-
"phpfpm_total_processes %d\n"
427-
"# HELP phpfpm_max_active_processes_total The maximum number of active processes since FPM has started.\n"
428-
"# TYPE phpfpm_max_active_processes_total counter\n"
429-
"phpfpm_max_active_processes_total %d\n"
430-
"# HELP phpfpm_max_children_reached_total The number of times, the process limit has been reached, when pm tries to start more children (works only for pm 'dynamic' and 'ondemand').\n"
431-
"# TYPE phpfpm_max_children_reached_total counter\n"
432-
"phpfpm_max_children_reached_total %u\n"
433-
"# HELP phpfpm_slow_requests_total The number of requests that exceeded your 'request_slowlog_timeout' value.\n"
434-
"# TYPE phpfpm_slow_requests_total counter\n"
435-
"phpfpm_slow_requests_total %lu\n";
397+
"# HELP phpfpm_up Could pool %s using a %s PM on PHP-FPM be reached?\n"
398+
"# TYPE phpfpm_up gauge\n"
399+
"phpfpm_up 1\n"
400+
"# HELP phpfpm_start_time When FPM has started.\n"
401+
"# TYPE phpfpm_start_time gauge\n"
402+
"phpfpm_start_time %lu\n"
403+
"# HELP phpfpm_start_since_total The number of seconds since FPM has started.\n"
404+
"# TYPE phpfpm_start_since_total counter\n"
405+
"phpfpm_start_since_total %lu\n"
406+
"# HELP phpfpm_accepted_connections_total The number of requests accepted by the pool.\n"
407+
"# TYPE phpfpm_accepted_connections_total counter\n"
408+
"phpfpm_accepted_connections_total %lu\n"
409+
"# HELP phpfpm_listen_queue The number of requests in the queue of pending connections.\n"
410+
"# TYPE phpfpm_listen_queue gauge\n"
411+
"phpfpm_listen_queue %lu\n"
412+
"# HELP phpfpm_max_listen_queue_total The maximum number of requests in the queue of pending connections since FPM has started.\n"
413+
"# TYPE phpfpm_max_listen_queue_total counter\n"
414+
"phpfpm_max_listen_queue_total %d\n"
415+
"# TYPE phpfpm_listen_queue_length gauge\n"
416+
"# HELP phpfpm_listen_queue_length The size of the socket queue of pending connections.\n"
417+
"phpfpm_listen_queue_length %u\n"
418+
"# HELP phpfpm_idle_processes The number of idle processes.\n"
419+
"# TYPE phpfpm_idle_processes gauge\n"
420+
"phpfpm_idle_processes %d\n"
421+
"# HELP phpfpm_active_processes The number of active processes.\n"
422+
"# TYPE phpfpm_active_processes gauge\n"
423+
"phpfpm_active_processes %d\n"
424+
"# HELP phpfpm_total_processes The number of idle + active processes.\n"
425+
"# TYPE phpfpm_total_processes gauge\n"
426+
"phpfpm_total_processes %d\n"
427+
"# HELP phpfpm_max_active_processes_total The maximum number of active processes since FPM has started.\n"
428+
"# TYPE phpfpm_max_active_processes_total counter\n"
429+
"phpfpm_max_active_processes_total %d\n"
430+
"# HELP phpfpm_max_children_reached_total The number of times, the process limit has been reached, when pm tries to start more children (works only for pm 'dynamic' and 'ondemand').\n"
431+
"# TYPE phpfpm_max_children_reached_total counter\n"
432+
"phpfpm_max_children_reached_total %u\n"
433+
"# HELP phpfpm_slow_requests_total The number of requests that exceeded your 'request_slowlog_timeout' value.\n"
434+
"# TYPE phpfpm_slow_requests_total counter\n"
435+
"phpfpm_slow_requests_total %lu\n";
436436

437437
if (!full) {
438438
short_post = "";

0 commit comments

Comments
 (0)