github.com/netdata/go.d.plugin@v0.58.1/modules/nginx/metrics.go (about) 1 // SPDX-License-Identifier: GPL-3.0-or-later 2 3 package nginx 4 5 type stubStatus struct { 6 Connections struct { 7 // The current number of active client connections including Waiting connections. 8 Active int64 `stm:"active"` 9 10 // The total number of accepted client connections. 11 Accepts int64 `stm:"accepts"` 12 13 // The total number of handled connections. 14 // Generally, the parameter value is the same as accepts unless some resource limits have been reached. 15 Handled int64 `stm:"handled"` 16 17 // The current number of connections where nginx is reading the request header. 18 Reading int64 `stm:"reading"` 19 20 // The current number of connections where nginx is writing the response back to the client. 21 Writing int64 `stm:"writing"` 22 23 // The current number of idle client connections waiting for a request. 24 Waiting int64 `stm:"waiting"` 25 } `stm:""` 26 Requests struct { 27 // The total number of client requests. 28 Total int64 `stm:"requests"` 29 30 // Note: tengine specific 31 // The total requests' response time, which is in millisecond 32 Time *int64 `stm:"request_time"` 33 } `stm:""` 34 }