You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: collector.go
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -47,17 +47,17 @@ func (e *Exporter) newCollector() *collector {
47
47
return&collector{
48
48
exporter: e,
49
49
up: newFuncMetric("up", "able to contact php-fpm"),
50
-
acceptedConn: newFuncMetric("accepted_conn", "Total of accepted connections"),
51
-
listenQueue: newFuncMetric("listen_queue", "Number of connections that have been initiated but not yet accepted"),
52
-
maxListenQueue: newFuncMetric("max_listen_queue", "Max. connections the listen queue has reached since FPM start"),
53
-
listenQueueLength: newFuncMetric("listen_queue_length", "Maximum number of connections that can be queued"),
50
+
acceptedConn: newFuncMetric("accepted_connections_total", "Total number of accepted connections"),
51
+
listenQueue: newFuncMetric("listen_queue_connections", "Number of connections that have been initiated but not yet accepted"),
52
+
maxListenQueue: newFuncMetric("listen_queue_max_connections", "Max number of connections the listen queue has reached since FPM start"),
53
+
listenQueueLength: newFuncMetric("listen_queue_length_connections", "The length of the socket queue, dictating maximum number of pending connections"),
54
54
idleProcesses: newFuncMetric("idle_processes", "Idle process count"),
55
55
activeProcesses: newFuncMetric("active_processes", "Active process count"),
56
56
totalProcesses: newFuncMetric("total_processes", "Total process count"),
57
-
maxActiveProcesses: newFuncMetric("max_active_processes", "Maximum active process count"),
58
-
maxChildrenReached: newFuncMetric("max_children_reached", "Number of times the process limit has been reached"),
59
-
slowRequests: newFuncMetric("slow_requests", "Number of requests that exceed request_slowlog_timeout"),
60
-
scrapeFailures: newFuncMetric("scrape_failures", "Number of errors while scraping php_fpm"),
57
+
maxActiveProcesses: newFuncMetric("active_max_processes", "Maximum active process count"),
58
+
maxChildrenReached: newFuncMetric("max_children_reached_total", "Number of times the process limit has been reached"),
59
+
slowRequests: newFuncMetric("slow_requests_total", "Number of requests that exceed request_slowlog_timeout"),
60
+
scrapeFailures: newFuncMetric("scrape_failures_total", "Number of errors while scraping php_fpm"),
0 commit comments