This appendix describes metric families returned in the output of
openmetrics pound backends (see Metrics).
Number of milliseconds elapsed since pound startup.
Number of pound workers (see Worker model). Indexed by types:
Number of workers currently active.
Number of workers running (both idle and active).
Minimum number of workers as set by the WorkerMinCount
configuration directive (see WorkerMinCount).
Maximum number of workers as set by the WorkerMaxCount
configuration directive (see WorkerMaxCount).
Example:
pound_workers{type="active"} 2
pound_workers{type="count"} 5
pound_workers{type="max"} 128
pound_workers{type="min"} 5
Number of connections waiting in the input queue.
State of a listener: enabled/disabled. Indexed by the listener ordinal number and, if available, its name.
pound_listener_enabled{listener="0"} 1
pound_listener_enabled{listener="1",listener_name="plain"} 0
pound_listener_enabled{listener="2",listener_name="tls"} 1
Description of a listener. Each instance contains the following indices:
Listener ordinal number.
Listener name, if set in the ListenHTTP or ListenHTTPS
statement (see ListenHTTP).
Listener address. For INET family, it is formatted as ‘IP:PORT’, for UNIX sockets, it is the pathname of the socket.
Either ‘http’ or ‘https’.
The value of this metrics is always ‘1’.
pound_listener_info{listener="0",address="/run/pound.sock",protocol="http"} 1
pound_listener_info{listener="1",listener_name="plain",address="0.0.0.0:80",protocol="http"} 1
pound_listener_info{listener="2",listener_name="tls",address="0.0.0.0:443",protocol="https"} 1
State of a particular service.
pound_service_enabled{listener="0",service="0"} 1
pound_service_enabled{listener="1",service="0"} 1
pound_service_enabled{listener="1",listener_name="plain",service="0",service_name="redirect"} 0
pound_service_enabled{listener="2",listener_name="tls",service="0",service_name="metrics"} 1
pound_service_enabled{listener="2",listener_name="tls",service="1",service_name="web"} 1
pound_service_enabled{service="0",service_name="fallback"} 1
Number of backends per service: total, alive, enabled, and active (both alive and enabled). Indices:
listenerListener ordinal number. This index is absent for globally defined services.
listener_nameName of the listener. Present only if the name is set and not empty.
serviceIndex of the service in listener (or in global configuration, for globally defined services).
service_nameName of the service. Present only if the name is set and not empty.
stateBackend state: ‘total’, ‘alive’, ‘enabled’, or ‘active’.
service_nameName of the service. Present only if the name is set and not empty.
Example:
pound_backends{listener="0",listener_name="plain",service="0",service_name="web",state="total"} 5
pound_backends{listener="0",listener_name="plain",,service="0",service_name="web",state="enabled"} 3
pound_backends{listener="0",listener_name="plain",,service="0",service_name="web",state="alive"} 3
pound_backends{service="0",state="total"} 1
pound_backends{service="0",state="enabled"} 1
pound_backends{service="0",state="alive"} 1
State of each backend. Indices:
listenerListener ordinal number. This index is absent for globally defined services.
listener_nameName of the listener. Present only if the name is set and not empty.
serviceIndex of the service in listener (or in global configuration, for globally defined services).
service_nameName of the service. Present only if the name is set and not empty.
backendIndex of the backend in service.
state‘enabled’: whether the backend is enabled or not.
‘alive’: whether the backend is alive or not.
Example:
pound_backend_state{listener="0",service="0",backend="0",state="alive"} 1
pound_backend_state{listener="0",service="0",backend="0",state="enabled"} 1
pound_backend_state{listener="0",service="0",backend="1",state="alive"} 1
pound_backend_state{listener="0",service="0",backend="1",state="enabled"} 0
Number of requests processed by backend. This metrics is available only if backend statistics is enabled (see BackendStats).
Example:
pound_backend_requests{listener="0",service="0",backend="0"} 40587
pound_backend_requests{listener="1",service="0",backend="0"} 13858
Average time per request spent in backend (nanoseconds). This metrics is available only if backend statistics is enabled (see BackendStats).
pound_backend_request_time_avg_nanoseconds{listener="0",service="0",backend="0"} 156254
pound_backend_request_time_avg_nanoseconds{listener="1",service="2",backend="0"} 26147
Standard deviation of the average time per request. This metrics is available only if backend statistics is enabled (see BackendStats).
pound_backend_request_stddev_nanoseconds{listener="0",service="0",backend="0"} 0
pound_backend_request_stddev_nanoseconds{listener="1",service="2",backend="0"} 59