github.com/netdata/go.d.plugin@v0.58.1/modules/lighttpd/metrics.go (about) 1 // SPDX-License-Identifier: GPL-3.0-or-later 2 3 package lighttpd 4 5 type ( 6 serverStatus struct { 7 Total struct { 8 Accesses *int64 `stm:"accesses"` 9 KBytes *int64 `stm:"kBytes"` 10 } `stm:"total"` 11 Servers struct { 12 Busy *int64 `stm:"busy_servers"` 13 Idle *int64 `stm:"idle_servers"` 14 } `stm:""` 15 Uptime *int64 `stm:"uptime"` 16 Scoreboard *scoreboard `stm:"scoreboard"` 17 } 18 scoreboard struct { 19 Waiting int64 `stm:"waiting"` 20 Open int64 `stm:"open"` 21 Close int64 `stm:"close"` 22 HardError int64 `stm:"hard_error"` 23 KeepAlive int64 `stm:"keepalive"` 24 Read int64 `stm:"read"` 25 ReadPost int64 `stm:"read_post"` 26 Write int64 `stm:"write"` 27 HandleRequest int64 `stm:"handle_request"` 28 RequestStart int64 `stm:"request_start"` 29 RequestEnd int64 `stm:"request_end"` 30 ResponseStart int64 `stm:"response_start"` 31 ResponseEnd int64 `stm:"response_end"` 32 } 33 )