summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorJakub Zelenka <bukka@php.net>2021-03-21 18:24:46 +0000
committerJakub Zelenka <bukka@php.net>2021-03-21 18:24:46 +0000
commitc6c571d92b2f02672f500af08b8927dbf274ebe9 (patch)
treefcd44c8aeb6b75a552353950ecebdbf41ad4d91a /sapi
parentd36ac9640af2941169cb97f0764d8e21d930c7c8 (diff)
downloadphp-git-c6c571d92b2f02672f500af08b8927dbf274ebe9.tar.gz
Fix indent in FPM openmetrics status
Diffstat (limited to 'sapi')
-rw-r--r--sapi/fpm/fpm/fpm_status.c78
1 files changed, 39 insertions, 39 deletions
diff --git a/sapi/fpm/fpm/fpm_status.c b/sapi/fpm/fpm/fpm_status.c
index 02717fc97f..94e3d256ae 100644
--- a/sapi/fpm/fpm/fpm_status.c
+++ b/sapi/fpm/fpm/fpm_status.c
@@ -394,45 +394,45 @@ int fpm_status_handle_request(void) /* {{{ */
time_format = "%s";
short_syntax =
- "# HELP phpfpm_up Could pool %s using a %s PM on PHP-FPM be reached?\n"
- "# TYPE phpfpm_up gauge\n"
- "phpfpm_up 1\n"
- "# HELP phpfpm_start_time When FPM has started.\n"
- "# TYPE phpfpm_start_time gauge\n"
- "phpfpm_start_time %lu\n"
- "# HELP phpfpm_start_since_total The number of seconds since FPM has started.\n"
- "# TYPE phpfpm_start_since_total counter\n"
- "phpfpm_start_since_total %lu\n"
- "# HELP phpfpm_accepted_connections_total The number of requests accepted by the pool.\n"
- "# TYPE phpfpm_accepted_connections_total counter\n"
- "phpfpm_accepted_connections_total %lu\n"
- "# HELP phpfpm_listen_queue The number of requests in the queue of pending connections.\n"
- "# TYPE phpfpm_listen_queue gauge\n"
- "phpfpm_listen_queue %lu\n"
- "# HELP phpfpm_max_listen_queue_total The maximum number of requests in the queue of pending connections since FPM has started.\n"
- "# TYPE phpfpm_max_listen_queue_total counter\n"
- "phpfpm_max_listen_queue_total %d\n"
- "# TYPE phpfpm_listen_queue_length gauge\n"
- "# HELP phpfpm_listen_queue_length The size of the socket queue of pending connections.\n"
- "phpfpm_listen_queue_length %u\n"
- "# HELP phpfpm_idle_processes The number of idle processes.\n"
- "# TYPE phpfpm_idle_processes gauge\n"
- "phpfpm_idle_processes %d\n"
- "# HELP phpfpm_active_processes The number of active processes.\n"
- "# TYPE phpfpm_active_processes gauge\n"
- "phpfpm_active_processes %d\n"
- "# HELP phpfpm_total_processes The number of idle + active processes.\n"
- "# TYPE phpfpm_total_processes gauge\n"
- "phpfpm_total_processes %d\n"
- "# HELP phpfpm_max_active_processes_total The maximum number of active processes since FPM has started.\n"
- "# TYPE phpfpm_max_active_processes_total counter\n"
- "phpfpm_max_active_processes_total %d\n"
- "# 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"
- "# TYPE phpfpm_max_children_reached_total counter\n"
- "phpfpm_max_children_reached_total %u\n"
- "# HELP phpfpm_slow_requests_total The number of requests that exceeded your 'request_slowlog_timeout' value.\n"
- "# TYPE phpfpm_slow_requests_total counter\n"
- "phpfpm_slow_requests_total %lu\n";
+ "# HELP phpfpm_up Could pool %s using a %s PM on PHP-FPM be reached?\n"
+ "# TYPE phpfpm_up gauge\n"
+ "phpfpm_up 1\n"
+ "# HELP phpfpm_start_time When FPM has started.\n"
+ "# TYPE phpfpm_start_time gauge\n"
+ "phpfpm_start_time %lu\n"
+ "# HELP phpfpm_start_since_total The number of seconds since FPM has started.\n"
+ "# TYPE phpfpm_start_since_total counter\n"
+ "phpfpm_start_since_total %lu\n"
+ "# HELP phpfpm_accepted_connections_total The number of requests accepted by the pool.\n"
+ "# TYPE phpfpm_accepted_connections_total counter\n"
+ "phpfpm_accepted_connections_total %lu\n"
+ "# HELP phpfpm_listen_queue The number of requests in the queue of pending connections.\n"
+ "# TYPE phpfpm_listen_queue gauge\n"
+ "phpfpm_listen_queue %lu\n"
+ "# HELP phpfpm_max_listen_queue_total The maximum number of requests in the queue of pending connections since FPM has started.\n"
+ "# TYPE phpfpm_max_listen_queue_total counter\n"
+ "phpfpm_max_listen_queue_total %d\n"
+ "# TYPE phpfpm_listen_queue_length gauge\n"
+ "# HELP phpfpm_listen_queue_length The size of the socket queue of pending connections.\n"
+ "phpfpm_listen_queue_length %u\n"
+ "# HELP phpfpm_idle_processes The number of idle processes.\n"
+ "# TYPE phpfpm_idle_processes gauge\n"
+ "phpfpm_idle_processes %d\n"
+ "# HELP phpfpm_active_processes The number of active processes.\n"
+ "# TYPE phpfpm_active_processes gauge\n"
+ "phpfpm_active_processes %d\n"
+ "# HELP phpfpm_total_processes The number of idle + active processes.\n"
+ "# TYPE phpfpm_total_processes gauge\n"
+ "phpfpm_total_processes %d\n"
+ "# HELP phpfpm_max_active_processes_total The maximum number of active processes since FPM has started.\n"
+ "# TYPE phpfpm_max_active_processes_total counter\n"
+ "phpfpm_max_active_processes_total %d\n"
+ "# 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"
+ "# TYPE phpfpm_max_children_reached_total counter\n"
+ "phpfpm_max_children_reached_total %u\n"
+ "# HELP phpfpm_slow_requests_total The number of requests that exceeded your 'request_slowlog_timeout' value.\n"
+ "# TYPE phpfpm_slow_requests_total counter\n"
+ "phpfpm_slow_requests_total %lu\n";
if (!full) {
short_post = "";