Reference

show stat

Get statistics that describe traffic flowing through the load balancer.

Alternatively, you can display statistics in the HAProxy Enterprise Statistics dashboard.

Description Jump to heading

The show stat command returns the current values of all statistics metrics. You can format the data as:

  • Comma-separated values (CSV)
  • Typed
  • JSON

CSV format Jump to heading

The command returns data in the CSV format by default. The field names make up the first line. Example:

nix
echo "show stat" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
nix
echo "show stat" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
output
text
# pxname,svname,qcur,qmax,scur,smax,slim,stot,bin,bout,dreq,dresp,ereq,econ,eresp,wretr,wredis,status,weight,act,bck,chkfail,chkdown,lastchg,downtime,qlimit,pid,iid,sid,throttle,lbtot,tracked,type,rate,rate_lim,rate_max,check_status,check_code,check_duration,hrsp_1xx,hrsp_2xx,hrsp_3xx,hrsp_4xx,hrsp_5xx,hrsp_other,hanafail,req_rate,req_rate_max,req_tot,cli_abrt,srv_abrt,comp_in,comp_out,comp_byp,comp_rsp,lastsess,last_chk,last_agt,qtime,ctime,rtime,ttime,agent_status,agent_code,agent_duration,check_desc,agent_desc,check_rise,check_fall,check_health,agent_rise,agent_fall,agent_health,addr,cookie,mode,algo,conn_rate,conn_rate_max,conn_tot,intercepted,dcon,dses,wrew,connect,reuse,cache_lookups,cache_hits,srv_icur,src_ilim,qtime_max,ctime_max,rtime_max,ttime_max,eint,idle_conn_cur,safe_conn_cur,used_conn_cur,need_conn_est,
fe_main,FRONTEND,,,0,3,5000,3,1735,869,0,0,0,,,,,OPEN,,,,,,,,,1,2,0,,,,0,0,0,2,,,,2,0,2,0,0,0,,0,2,4,,,0,0,0,0,,,,,,,,,,,,,,,,,,,,,http,,0,2,3,0,0,0,0,,,0,0,,,,,,,0,,,,,
webservers,s1,0,0,0,0,,0,0,0,,0,,0,0,0,0,UP,100,1,0,0,0,12210,0,,1,3,1,,0,,2,0,,0,L4OK,,0,0,0,0,0,0,0,,,,0,0,0,,,,,-1,,,0,0,0,0,,,,Layer4 check passed,,2,3,4,,,,127.0.0.1:8080,,http,,,,,,,,0,0,0,,,0,,0,0,0,0,0,0,0,0,0,
webservers,s2,0,0,0,0,,0,0,0,,0,,0,0,0,0,UP,100,1,0,0,0,12210,0,,1,3,2,,0,,2,0,,0,L4OK,,0,0,0,0,0,0,0,,,,0,0,0,,,,,-1,,,0,0,0,0,,,,Layer4 check passed,,2,3,4,,,,127.0.0.1:8081,,http,,,,,,,,0,0,0,,,0,,0,0,0,0,0,0,0,0,0,
webservers,BACKEND,0,0,0,0,500,0,0,0,0,0,,0,0,0,0,UP,200,2,0,,0,12210,0,,1,3,0,,0,,1,0,,0,,,,0,0,0,0,0,0,,,,0,0,0,0,0,0,0,-1,,,0,0,0,0,,,,,,,,,,,,,,http,roundrobin,,,,,,,0,0,0,0,0,,,0,0,0,0,0,,,,,
output
text
# pxname,svname,qcur,qmax,scur,smax,slim,stot,bin,bout,dreq,dresp,ereq,econ,eresp,wretr,wredis,status,weight,act,bck,chkfail,chkdown,lastchg,downtime,qlimit,pid,iid,sid,throttle,lbtot,tracked,type,rate,rate_lim,rate_max,check_status,check_code,check_duration,hrsp_1xx,hrsp_2xx,hrsp_3xx,hrsp_4xx,hrsp_5xx,hrsp_other,hanafail,req_rate,req_rate_max,req_tot,cli_abrt,srv_abrt,comp_in,comp_out,comp_byp,comp_rsp,lastsess,last_chk,last_agt,qtime,ctime,rtime,ttime,agent_status,agent_code,agent_duration,check_desc,agent_desc,check_rise,check_fall,check_health,agent_rise,agent_fall,agent_health,addr,cookie,mode,algo,conn_rate,conn_rate_max,conn_tot,intercepted,dcon,dses,wrew,connect,reuse,cache_lookups,cache_hits,srv_icur,src_ilim,qtime_max,ctime_max,rtime_max,ttime_max,eint,idle_conn_cur,safe_conn_cur,used_conn_cur,need_conn_est,
fe_main,FRONTEND,,,0,3,5000,3,1735,869,0,0,0,,,,,OPEN,,,,,,,,,1,2,0,,,,0,0,0,2,,,,2,0,2,0,0,0,,0,2,4,,,0,0,0,0,,,,,,,,,,,,,,,,,,,,,http,,0,2,3,0,0,0,0,,,0,0,,,,,,,0,,,,,
webservers,s1,0,0,0,0,,0,0,0,,0,,0,0,0,0,UP,100,1,0,0,0,12210,0,,1,3,1,,0,,2,0,,0,L4OK,,0,0,0,0,0,0,0,,,,0,0,0,,,,,-1,,,0,0,0,0,,,,Layer4 check passed,,2,3,4,,,,127.0.0.1:8080,,http,,,,,,,,0,0,0,,,0,,0,0,0,0,0,0,0,0,0,
webservers,s2,0,0,0,0,,0,0,0,,0,,0,0,0,0,UP,100,1,0,0,0,12210,0,,1,3,2,,0,,2,0,,0,L4OK,,0,0,0,0,0,0,0,,,,0,0,0,,,,,-1,,,0,0,0,0,,,,Layer4 check passed,,2,3,4,,,,127.0.0.1:8081,,http,,,,,,,,0,0,0,,,0,,0,0,0,0,0,0,0,0,0,
webservers,BACKEND,0,0,0,0,500,0,0,0,0,0,,0,0,0,0,UP,200,2,0,,0,12210,0,,1,3,0,,0,,1,0,,0,,,,0,0,0,0,0,0,,,,0,0,0,0,0,0,0,-1,,,0,0,0,0,,,,,,,,,,,,,,http,roundrobin,,,,,,,0,0,0,0,0,,,0,0,0,0,0,,,,,

Each line represents a frontend, listen, backend or server from your configuration. To see a description of each field, run show stat with the typed format and the desc parameter.

Typed format Jump to heading

Specify the typed parameter to enable the typed format, wherein each metric is on its own line. Example:

nix
echo "show stat typed" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
nix
echo "show stat typed" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
output
text
F.2.0.0.pxname.1:KNSV:str:dummy
F.2.0.1.svname.1:KNSV:str:FRONTEND
F.2.0.4.scur.1:MGPV:u32:0
F.2.0.5.smax.1:MMPV:u32:0
F.2.0.6.slim.1:CLPV:u32:524269
F.2.0.7.stot.1:MCPP:u64:0
F.2.0.8.bin.1:MCPP:u64:0
...
output
text
F.2.0.0.pxname.1:KNSV:str:dummy
F.2.0.1.svname.1:KNSV:str:FRONTEND
F.2.0.4.scur.1:MGPV:u32:0
F.2.0.5.smax.1:MMPV:u32:0
F.2.0.6.slim.1:CLPV:u32:524269
F.2.0.7.stot.1:MCPP:u64:0
F.2.0.8.bin.1:MCPP:u64:0
...

Each line begins with a dot-delimited value (e.g. F.2.0.0.pxname.1) that has these fields:

  • a letter that identifies the proxy type: an F (frontend), B (backend), L (listen), or S (server).
  • a number that represents a unique ID for the proxy; This corresponds to the iid column in the CSV output.
  • a number that applies only to server lines and is zero otherwise; It represents the server’s unique ID and corresponds to the sid column in the CSV output.
  • a number that increments for each field in the same group.
  • the name of the field (e.g. pxname).
  • the process number, starting at 1.

The rest of the values are separated by colons. They break down as follows:

  • three letters that correspond to the field’s origin, nature, scope, and persistent state of the variable:
    • Origin can be M (metric), S (status), K (key), C (config), or P (product).
    • Nature can be G (gauge), L (limit), m (min), M (max), R (rate), C (counter), D (duration), A(age), T (time), N (name), O (output), or a (average).
    • Scope can be P (process), S (service), s (system), or C (cluster).
    • HAProxy Runtime API 3.3: Persistence state can be P (persists across process reloads) or V (volatile, or, reset by process reload).
  • the field’s type (e.g. str for string and u32 for unsigned 32-bit integer);
  • the value itself.

As of version 2.1r1, you can add the desc parameter to the command to append a description of each line. Example:

nix
echo "show stat typed desc" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
nix
echo "show stat typed desc" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
output
text
F.2.0.0.pxname.1:KNSV:str:dummy:"Proxy name"
F.2.0.1.svname.1:KNSV:str:FRONTEND:"Server name"
F.2.0.4.scur.1:MGPV:u32:0:"Current number of sessions on the frontend, backend or server"
F.2.0.5.smax.1:MMPV:u32:0:"Highest value of scur encountered since process started"
F.2.0.6.slim.1:CLPV:u32:524269:"Frontend/listener/server's maxconn, backend's fullconn"
F.2.0.7.stot.1:MCPP:u64:0:"Total number of sessions since process started"
F.2.0.8.bin.1:MCPP:u64:0:"Total number of request bytes since process started"
...
output
text
F.2.0.0.pxname.1:KNSV:str:dummy:"Proxy name"
F.2.0.1.svname.1:KNSV:str:FRONTEND:"Server name"
F.2.0.4.scur.1:MGPV:u32:0:"Current number of sessions on the frontend, backend or server"
F.2.0.5.smax.1:MMPV:u32:0:"Highest value of scur encountered since process started"
F.2.0.6.slim.1:CLPV:u32:524269:"Frontend/listener/server's maxconn, backend's fullconn"
F.2.0.7.stot.1:MCPP:u64:0:"Total number of sessions since process started"
F.2.0.8.bin.1:MCPP:u64:0:"Total number of request bytes since process started"
...

JSON format Jump to heading

Specify the json parameter to enable the JSON format. To make it human-readable, pipe the result to a JSON formatting tool, such as Python’s json.tool. Example:

nix
echo "show stat json" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999 | python3 -m json.tool | less
nix
echo "show stat json" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999 | python3 -m json.tool | less
output
json
[
[
{
"objType": "Frontend",
"proxyId": 2,
"id": 0,
"field": {
"pos": 0,
"name": "pxname"
},
"processNum": 1,
"tags": {
"origin": "Key",
"nature": "Name",
"scope": "Service",
"persistence": "Volatile"
},
"value": {
"type": "str",
"value": "fe_main"
}
},
{
"objType": "Frontend",
"proxyId": 2,
"id": 0,
"field": {
"pos": 1,
"name": "svname"
},
"processNum": 1,
"tags": {
"origin": "Key",
"nature": "Name",
"scope": "Service",
"persistence": "Volatile"
},
"value": {
"type": "str",
"value": "FRONTEND"
}
},
...
output
json
[
[
{
"objType": "Frontend",
"proxyId": 2,
"id": 0,
"field": {
"pos": 0,
"name": "pxname"
},
"processNum": 1,
"tags": {
"origin": "Key",
"nature": "Name",
"scope": "Service",
"persistence": "Volatile"
},
"value": {
"type": "str",
"value": "fe_main"
}
},
{
"objType": "Frontend",
"proxyId": 2,
"id": 0,
"field": {
"pos": 1,
"name": "svname"
},
"processNum": 1,
"tags": {
"origin": "Key",
"nature": "Name",
"scope": "Service",
"persistence": "Volatile"
},
"value": {
"type": "str",
"value": "FRONTEND"
}
},
...

The format of the JSON document is described in a schema, which you can get by calling show schema json.

Filtering Jump to heading

By default, show stat returns metrics for all proxy sections in your configuration. However, you can add a filter to return only the data that you want to see.

As of version 2.3r1, you can filter by domain and by server state.

Filter by domain Jump to heading

Use the domain parameter to limit output to proxy metrics (proxy) or to DNS resolver metrics (resolvers). The default is proxy. Example:

nix
echo "show stat domain resolvers" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
nix
echo "show stat domain resolvers" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
output
text
# id,pid,sent,send_error,valid,update,cname,cname_error,any_err,nx,timeout,refused,other,invalid,too_big,truncated,outdated,
ns1,dnsprod,13691,31,3972,2,0,0,3972,0,0,0,0,0,0,0,0,
10.0.2.3,default,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
...
output
text
# id,pid,sent,send_error,valid,update,cname,cname_error,any_err,nx,timeout,refused,other,invalid,too_big,truncated,outdated,
ns1,dnsprod,13691,31,3972,2,0,0,3972,0,0,0,0,0,0,0,0,
10.0.2.3,default,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
...

Filter by server state Jump to heading

To report on servers based on their check status, specify either up or no-maint.

up Report only on servers that are up or that are not checked. Servers that are down, unresolved, or in maintenance mode are omitted. This option is analogous to the \;up option on HTTP stats.

no-maint Omit disabled servers, that is, those that are enabled but down. This option is analogous to the \;no-maint option on HTTP stats.

Filter by server Jump to heading

Specify three values:

  • either the proxy name or its numeric iid value
  • a numeric type: 1 for frontends, 2 for backends, 4 for servers, and -1 for everything. Add these numbers to see multiple types at once.
  • A server’s sid value or -1.

Below, we show all servers in the backend webservers by specifying the section’s name followed by 4 for servers and then -1. Example:

nix
echo "show stat webservers 4 -1" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
nix
echo "show stat webservers 4 -1" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
output
text
# pxname,svname,qcur,qmax,scur,smax,slim,stot,bin,bout,dreq,dresp,ereq,econ,eresp,wretr,wredis,status,weight,act,bck,chkfail,chkdown,lastchg,downtime,qlimit,pid,iid,sid,throttle,lbtot,tracked,type,rate,rate_lim,rate_max,check_status,check_code,check_duration,hrsp_1xx,hrsp_2xx,hrsp_3xx,hrsp_4xx,hrsp_5xx,hrsp_other,hanafail,req_rate,req_rate_max,req_tot,cli_abrt,srv_abrt,comp_in,comp_out,comp_byp,comp_rsp,lastsess,last_chk,last_agt,qtime,ctime,rtime,ttime,agent_status,agent_code,agent_duration,check_desc,agent_desc,check_rise,check_fall,check_health,agent_rise,agent_fall,agent_health,addr,cookie,mode,algo,conn_rate,conn_rate_max,conn_tot,intercepted,dcon,dses,wrew,connect,reuse,cache_lookups,cache_hits,srv_icur,src_ilim,qtime_max,ctime_max,rtime_max,ttime_max,eint,idle_conn_cur,safe_conn_cur,used_conn_cur,need_conn_est,
webservers,server1,0,0,0,0,,0,0,0,,0,,0,0,0,0,UP,100,1,0,0,0,14207,0,,1,3,1,,0,,2,0,,0,L4OK,,0,0,0,0,0,0,0,,,,0,0,0,,,,,-1,,,0,0,0,0,,,,Layer4 check passed,,2,3,4,,,,127.0.0.1:8080,,http,,,,,,,,0,0,0,,,0,,0,0,0,0,0,0,0,0,0,
webservers,server2,0,0,0,0,,0,0,0,,0,,0,0,0,0,UP,100,1,0,0,0,14207,0,,1,3,2,,0,,2,0,,0,L4OK,,0,0,0,0,0,0,0,,,,0,0,0,,,,,-1,,,0,0,0,0,,,,Layer4 check passed,,2,3,4,,,,127.0.0.1:8081,,http,,,,,,,,0,0,0,,,0,,0,0,0,0,0,0,0,0,0,
...
output
text
# pxname,svname,qcur,qmax,scur,smax,slim,stot,bin,bout,dreq,dresp,ereq,econ,eresp,wretr,wredis,status,weight,act,bck,chkfail,chkdown,lastchg,downtime,qlimit,pid,iid,sid,throttle,lbtot,tracked,type,rate,rate_lim,rate_max,check_status,check_code,check_duration,hrsp_1xx,hrsp_2xx,hrsp_3xx,hrsp_4xx,hrsp_5xx,hrsp_other,hanafail,req_rate,req_rate_max,req_tot,cli_abrt,srv_abrt,comp_in,comp_out,comp_byp,comp_rsp,lastsess,last_chk,last_agt,qtime,ctime,rtime,ttime,agent_status,agent_code,agent_duration,check_desc,agent_desc,check_rise,check_fall,check_health,agent_rise,agent_fall,agent_health,addr,cookie,mode,algo,conn_rate,conn_rate_max,conn_tot,intercepted,dcon,dses,wrew,connect,reuse,cache_lookups,cache_hits,srv_icur,src_ilim,qtime_max,ctime_max,rtime_max,ttime_max,eint,idle_conn_cur,safe_conn_cur,used_conn_cur,need_conn_est,
webservers,server1,0,0,0,0,,0,0,0,,0,,0,0,0,0,UP,100,1,0,0,0,14207,0,,1,3,1,,0,,2,0,,0,L4OK,,0,0,0,0,0,0,0,,,,0,0,0,,,,,-1,,,0,0,0,0,,,,Layer4 check passed,,2,3,4,,,,127.0.0.1:8080,,http,,,,,,,,0,0,0,,,0,,0,0,0,0,0,0,0,0,0,
webservers,server2,0,0,0,0,,0,0,0,,0,,0,0,0,0,UP,100,1,0,0,0,14207,0,,1,3,2,,0,,2,0,,0,L4OK,,0,0,0,0,0,0,0,,,,0,0,0,,,,,-1,,,0,0,0,0,,,,Layer4 check passed,,2,3,4,,,,127.0.0.1:8081,,http,,,,,,,,0,0,0,,,0,,0,0,0,0,0,0,0,0,0,
...

Examples Jump to heading

In the example below, we get the current values for statistics in the standard CSV format. Then, we pipe the results to the cut and column commands to display only the proxy and server name, the number of retries, the status, the number of 4xx and 5xx HTTP error responses, the request rate, and the average response time.

nix
echo "show stat" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
nix
echo "show stat" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
output
text
# pxname svname wretr status hrsp_4xx hrsp_5xx req_rate rtime
webservers s1 0 UP 0 0 0
webservers s2 0 UP 0 0 0
output
text
# pxname svname wretr status hrsp_4xx hrsp_5xx req_rate rtime
webservers s1 0 UP 0 0 0
webservers s2 0 UP 0 0 0

Add the watch command to update these numbers every two seconds:

nix
watch 'echo "show stat" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999 | cut -d "," -f 1-2,16,18,43,44,47,61 | column -s, -t'
nix
watch 'echo "show stat" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999 | cut -d "," -f 1-2,16,18,43,44,47,61 | column -s, -t'

Statistics reference Jump to heading

Name Description
act Total number of active UP servers with a non-zero weight.
act Total number of active UP servers with a non-zero weight.
addr Server’s address:port, shown only if show-legends is set, or at levels oper/admin for the CLI
agent_code Status code reported by the latest server agent check
agent_desc Textual description of the latest agent check report for this server
agent_duration Total duration of the latest server agent check, in milliseconds
agent_fall Number of failed agent checks before declaring a server DOWN (server ‘fall’ setting)
agent_health Current server agent check level (0…fall-1=DOWN, fall…rise-1=UP)
agent_rise Number of successful agent checks before declaring a server UP (server ‘rise’ setting)
agent_status Status report of the server’s latest agent check, prefixed with ‘*’ if a check is currently in progress
agg_check_status Backend’s aggregated gauge of servers’ state check status. One metric for each combination of backend and status.
agg_server_check_status Deprecated. Backend’s aggregated gauge of servers’ status. One metric for each combination of backend and status.
agg_server_status Backend’s aggregated gauge of servers’ status. One metric for each combination of backend and status.
algo Backend’s load balancing algorithm, shown only if show-legends is set, or at levels oper/admin for the CLI
bck Total number of backup UP servers with a non-zero weight.
bck Total number of backup UP servers with a non-zero weight.
bin Total number of request bytes since process started.
bin Total number of request bytes since process started.
bin Total number of request bytes since process started.
bin Total number of request bytes since process started.
bout Total number of response bytes since process started.
bout Total number of response bytes since process started.
bout Total number of response bytes since process started.
bout Total number of response bytes since process started.
cache_hits Total number of HTTP requests not found in the cache on this frontend/backend since the worker process started.
cache_hits Total number of HTTP requests not found in the cache on this frontend/backend since the worker process started.
cache_lookups Total number of HTTP requests looked up in the cache on this frontend/backend since the worker process started.
check_code HTTP/SMTP/LDAP status code reported by the latest server health check.
check_desc Textual description of the latest health check report for this server
check_duration Total duration of the latest server health check, in seconds.
check_fall Number of failed health checks before declaring a server DOWN (server ‘fall’ setting)
check_health Current server health check level (0…fall-1=DOWN, fall…rise-1=UP)
check_rise Number of successful health checks before declaring a server UP (server ‘rise’ setting)
check_status Status report of the server’s latest health check, prefixed with ‘*’ if a check is currently in progress
chkdown Total number of failed checks causing UP to DOWN server transitions, per server/backend, since the worker process started.
chkdown Total number of failed checks causing UP to DOWN server transitions, per server/backend, since the worker process started.
chkfail Total number of failed individual health checks per server/backend, since the worker process started.
cli_abrt Total number of requests or connections aborted by the client since the worker process started.
cli_abrt Total number of requests or connections aborted by the client since the worker process started.
comp_byp Total number of bytes that bypassed HTTP compression for this object since the worker process started (CPU/memory/bandwidth limitation).
comp_byp Total number of bytes that bypassed HTTP compression for this object since the worker process started (CPU/memory/bandwidth limitation).
comp_in Total number of bytes submitted to the HTTP compressor for this object since the worker process started.
comp_in Total number of bytes submitted to the HTTP compressor for this object since the worker process started.
comp_out Total number of bytes emitted by the HTTP compressor for this object since the worker process started.
comp_out Total number of bytes emitted by the HTTP compressor for this object since the worker process started.
comp_rsp Total number of HTTP responses that were compressed for this object since the worker process started.
comp_rsp Total number of HTTP responses that were compressed for this object since the worker process started.
conn_rate Number of new connections accepted over the last second on the frontend for this worker process
conn_rate_max Highest value of connections per second observed since the worker process started.
conn_tot Total number of new connections accepted on this frontend since the worker process started.
connect Total number of outgoing connection attempts on this backend/server since the worker process started.
connect Total number of outgoing connection attempts on this backend/server since the worker process started.
cookie Backend’s cookie name or Server’s cookie value, shown only if show-legends is set, or at levels oper/admin for the CLI
ctime Time spent waiting for a connection to complete, in milliseconds, averaged over the 1024 last requests (backend/server)
ctime_max Maximum observed time spent waiting for a connection to complete.
ctime_max Maximum observed time spent waiting for a connection to complete.
dcon Total number of incoming connections blocked on a listener/frontend by a tcp-request connection rule since the worker process started.
dcon Total number of incoming connections blocked on a listener/frontend by a tcp-request connection rule since the worker process started.
downtime Total time spent in DOWN state, for server or backend.
downtime Total time spent in DOWN state, for server or backend.
dreq Total number of denied requests since process started.
dreq Total number of denied requests since process started.
dreq Total number of denied requests since process started.
dresp Total number of denied responses since process started.
dresp Total number of denied responses since process started.
dresp Total number of denied responses since process started.
dresp Total number of denied responses since process started.
dses Total number of incoming sessions blocked on a listener/frontend by a tcp-request connection rule since the worker process started.
dses Total number of incoming sessions blocked on a listener/frontend by a tcp-request connection rule since the worker process started.
econ Total number of failed connections to server since the worker process started.
econ Total number of failed connections to server since the worker process started.
eint Total number of internal errors since process started.
eint Total number of internal errors since process started.
eint Total number of internal errors since process started.
eint Total number of internal errors since process started.
ereq Total number of invalid requests since process started.
ereq Total number of invalid requests since process started.
eresp Total number of invalid responses since the worker process started.
eresp Total number of invalid responses since the worker process started.
h1_bytes_in Total number of bytes received.
h1_bytes_in Total number of bytes received.
h1_bytes_out Total number of bytes sent.
h1_bytes_out Total number of bytes sent.
h1_open_connections Count of currently open connections.
h1_open_connections Count of currently open connections.
h1_open_streams Count of currently open streams.
h1_open_streams Count of currently open streams.
h1_spliced_bytes_in Total number of bytes received using kernel splicing.
h1_spliced_bytes_in Total number of bytes received using kernel splicing.
h1_spliced_bytes_out Total number of bytes sent using kernel splicing.
h1_spliced_bytes_out Total number of bytes sent using kernel splicing.
h1_total_connections Total number of connections.
h1_total_connections Total number of connections.
h1_total_streams Total number of streams.
h1_total_streams Total number of streams.
h1req Total number of HTTP/1 sessions processed by this object since the worker process started.
h1sess Total number of HTTP/1 sessions since process started.
h2_backend_open_streams Count of currently open streams.
h2_backend_open_streams Count of currently open streams.
h2_backend_total_streams Total number of streams.
h2_backend_total_streams Total number of streams.
h2_data_rcvd Total number of received DATA frames.
h2_data_rcvd Total number of received DATA frames.
h2_detected_conn_protocol_errors Total number of connection protocol errors.
h2_detected_conn_protocol_errors Total number of connection protocol errors.
h2_detected_strm_protocol_errors Total number of stream protocol errors.
h2_detected_strm_protocol_errors Total number of stream protocol errors.
h2_goaway_rcvd Total number of received GOAWAY frames.
h2_goaway_rcvd Total number of received GOAWAY frames.
h2_goaway_resp Total number of GOAWAY sent on detected error.
h2_goaway_resp Total number of GOAWAY sent on detected error.
h2_headers_rcvd Total number of received HEADERS frames.
h2_headers_rcvd Total number of received HEADERS frames.
h2_open_connections Count of currently open connections.
h2_open_connections Count of currently open connections.
h2_rst_stream_rcvd Total number of received RST_STREAM frames.
h2_rst_stream_rcvd Total number of received RST_STREAM frames.
h2_rst_stream_resp Total number of RST_STREAM sent on detected error.
h2_rst_stream_resp Total number of RST_STREAM sent on detected error.
h2_settings_rcvd Total number of received SETTINGS frames.
h2_settings_rcvd Total number of received SETTINGS frames.
h2_total_connections Total number of connections.
h2_total_connections Total number of connections.
h2req Total number of HTTP/2 sessions processed by this object since the worker process started.
h2sess Total number of HTTP/2 sessions since process started.
h3_cancel_push Total number of CANCEL_PUSH frames received.
h3_closed_critical_stream Total number of H3_CLOSED_CRITICAL_STREAM errors received.
h3_connect_error Total number of H3_CONNECT_ERROR errors received.
h3_data Total number of DATA frames received.
h3_excessive_load Total number of H3_EXCESSIVE_LOAD errors received.
h3_frame_error Total number of H3_FRAME_ERROR errors received.
h3_frame_unexpected Total number of H3_FRAME_UNEXPECTED errors received.
h3_general_protocol_error Total number of H3_GENERAL_PROTOCOL_ERROR errors received.
h3_goaway Total number of GOAWAY frames received.
h3_headers Total number of HEADERS frames received.
h3_id_error Total number of H3_ID_ERROR errors received.
h3_internal_error Total number of H3_INTERNAL_ERROR errors received.
h3_max_push_id Total number of MAX_PUSH_ID frames received.
h3_message_error Total number of H3_MESSAGE_ERROR errors received.
h3_missing_settings Total number of H3_MISSING_SETTINGS errors received.
h3_no_error Total number of H3_NO_ERROR errors received.
h3_push_promise Total number of PUSH_PROMISE frames received.
h3_request_cancelled Total number of H3_REQUEST_CANCELLED errors received.
h3_request_incomplete Total number of H3_REQUEST_INCOMPLETE errors received.
h3_request_rejected Total number of H3_REQUEST_REJECTED errors received.
h3_settings Total number of SETTINGS frames received.
h3_settings_error Total number of H3_SETTINGS_ERROR errors received.
h3_stream_creation_error Total number of H3_STREAM_CREATION_ERROR errors received.
h3_version_fallback Total number of H3_VERSION_FALLBACK errors received.
h3req Total number of HTTP/3 sessions processed by this object since the worker process started.
h3sess Total number of HTTP/3 sessions since process started.
hanafail Total number of failed checks caused by an ‘on-error’ directive after an ‘observe’ condition matched.
hrsp_1xx Total number of HTTP responses with status 100-199 returned by this object since the worker process started.
hrsp_2xx Total number of HTTP responses with status 200-299 returned by this object since the worker process started.
hrsp_3xx Total number of HTTP responses with status 300-399 returned by this object since the worker process started.
hrsp_4xx Total number of HTTP responses with status 400-499 returned by this object since the worker process started.
hrsp_5xx Total number of HTTP responses with status 500-599 returned by this object since the worker process started.
hrsp_other Total number of HTTP responses with status <100, >599 returned by this object since the worker process started (error -1 included).
idle_conn_cur Current number of unsafe idle connections.
iid Frontend or Backend numeric identifier (‘id’ setting)
intercepted Total number of HTTP requests intercepted on the frontend (redirects/stats/services) since the worker process started.
last_agt Short description of the latest agent check report for this server (see also agent_desc)
last_chk Short description of the latest health check report for this server (see also check_desc)
lastchg How long ago the last server state changed, in seconds.
lastchg How long ago the last server state changed, in seconds.
lastsess How long ago some traffic was seen on this object on this worker process, in seconds.
lastsess How long ago some traffic was seen on this object on this worker process, in seconds.
lbtot Total number of requests routed by load balancing since the worker process started (ignores queue pop and stickiness).
lbtot Total number of requests routed by load balancing since the worker process started (ignores queue pop and stickiness).
mode ‘mode’ setting (tcp/http/health/cli/spop)
need_conn_est Estimated needed number of connections.
pack_decompression_failed Total number of QPACK_DECOMPRESSION_FAILED errors received.
pid Relative worker process number (1)
priv_idle_cur Current number of private idle connections
proto Protocol
pxname Proxy name
qcur Number of current queued connections.
qcur Number of current queued connections.
qlimit Limit on the number of connections in queue, for servers only (maxqueue argument).
qmax Highest value of queued connections encountered since process started.
qmax Highest value of queued connections encountered since process started.
qpack_decoder_stream_error Total number of QPACK_DECODER_STREAM_ERROR errors received.
qpack_encoder_stream_error Total number of QPACK_ENCODER_STREAM_ERROR errors received.
qtime Time spent in the queue, in milliseconds, averaged over the 1024 last requests (backend/server)
qtime_max Maximum observed time spent in the queue.
qtime_max Maximum observed time spent in the queue.
quic_conn_migration_done Total number of connection migration proceeded.
quic_data_blocked Total number of received DATA_BLOCKED frames.
quic_dropped_parsing_pkt Total number of dropped packets upon parsing error.
quic_dropped_pkt Total number of dropped packets.
quic_dropped_pkt_bufoverrun Total number of dropped packets because of buffer overrun.
quic_half_open_conn Total number of half-open connections.
quic_hdshk_fail Total number of handshake failures.
quic_lost_pkt Total number of lost sent packets.
quic_ncbuf_gap_limit Total number of failures to add to ncbuf because of gap size limit
quic_retry_error Total number of Retry tokens errors.
quic_retry_sent Total number of Retry sent.
quic_retry_validated Total number of validated Retry tokens.
quic_rxbuf_full Total number of cancelled reception due to full receiver buffer.
quic_sendto_err Total number of errors on sendto() calls, EAGAIN excepted.
quic_sendto_err_unknwn Total number of errors on sendto() calls not explicitly listed.
quic_sent_pkt Total number of sent packets.
quic_socket_full Total number of EAGAIN error on sendto() calls.
quic_stless_rst_sent Total number of stateless reset packets sent.
quic_stream_data_blocked Total number of received STREAM_DATA_BLOCKED frames.
quic_streams_blocked_bidi Total number of received STREAMS_BLOCKED_BIDI frames.
quic_streams_blocked_uni Total number of received STREAMS_BLOCKED_UNI frames.
quic_too_short_dgram Total number of too short dgrams with initial packets.
quic_transp_err_aead_limit_reached Total number of AEAD_LIMIT_REACHED errors received.
quic_transp_err_application_error Total number of APPLICATION_ERROR errors received.
quic_transp_err_connection_id_limit Total number of CONNECTION_ID_LIMIT_ERROR errors received.
quic_transp_err_connection_refused Total number of CONNECTION_REFUSED errors received.
quic_transp_err_crypto_buffer_exceeded Total number of CRYPTO_BUFFER_EXCEEDED errors received.
quic_transp_err_crypto_error Total number of CRYPTO_ERROR errors received.
quic_transp_err_final_size_error Total number of FINAL_SIZE_ERROR errors received.
quic_transp_err_flow_control_error Total number of FLOW_CONTROL_ERROR errors received.
quic_transp_err_frame_encoding_error Total number of FRAME_ENCODING_ERROR errors received.
quic_transp_err_internal_error Total number of INTERNAL_ERROR errors received.
quic_transp_err_invalid_token Total number of INVALID_TOKEN errors received.
quic_transp_err_key_update_error Total number of KEY_UPDATE_ERROR errors received.
quic_transp_err_no_error Total number of NO_ERROR errors received.
quic_transp_err_no_viable_path Total number of NO_VIABLE_PATH errors received.
quic_transp_err_protocol_violation_error Total number of PROTOCOL_VIOLATION errors received.
quic_transp_err_stream_limit_error Total number of STREAM_LIMIT_ERROR errors received.
quic_transp_err_stream_state_error Total number of STREAM_STATE_ERROR errors received.
quic_transp_err_transport_parameter_error Total number of TRANSPORT_PARAMETER_ERROR errors received.
quic_transp_err_unknown_error Total number of UNKNOWN_ERROR errors received.
rate Total number of sessions on the backend processed by this object over the last second.
rate Total number of sessions on the server processed by this object over the last second.
rate Total number of sessions processed by this object over the last second (sessions for listeners/frontends, requests for backends/servers)
rate_lim Limit on the number of sessions accepted in a second (frontend only, ‘rate-limit sessions’ setting).
rate_max Highest value of sessions per second observed since the worker process started.
rate_max Highest value of sessions per second observed since the worker process started.
rate_max Highest value of sessions per second observed since the worker process started.
req_other Total number of sessions other than HTTP processed by this object since the worker process started
req_rate Number of HTTP requests processed over the last second on this object.
req_rate_max Highest value of http requests observed since the worker process started.
req_tot Total number of HTTP requests processed by this object since the worker process started.
req_tot Total number of HTTP requests processed by this object since the worker process started.
req_tot Total number of HTTP requests processed by this object since the worker process started.
reqbin Total number of request bytes received since process started.
reqbin Total number of request bytes received since process started.
reqbin Total number of request bytes received since process started.
reqbout Total number of request bytes sent since process started.
reqbout Total number of request bytes sent since process started.
reqbout Total number of request bytes sent since process started.
resbin Total number of response bytes received since process started.
resbin Total number of response bytes received since process started.
resbin Total number of response bytes received since process started.
resbout Total number of response bytes sent since process started.
resbout Total number of response bytes sent since process started.
resbout Total number of response bytes sent since process started.
reuse Total number of reused connection on this backend/server since the worker process started.
reuse Total number of reused connection on this backend/server since the worker process started.
rtime Time spent waiting for a server response, in milliseconds, averaged over the 1024 last requests (backend/server)
rtime_max Maximum observed time spent waiting for a server response.
rtime_max Maximum observed time spent waiting for a server response.
safe_conn_cur Current number of safe idle connections.
scur Number of current sessions on the frontend, backend or server.
scur Number of current sessions on the frontend.
scur Number of current sessions on the backend.
scur Number of current sessions on the server.
sess_other Total number of sessions other than HTTP since process started.
sid Server numeric identifier (‘id’ setting).
slim Frontend/listener/server’s maxconn, backend’s fullconn.
slim Frontend/listener/server’s maxconn, backend’s fullconn.
slim Frontend/listener/server’s maxconn, backend’s fullconn.
slim Frontend/listener/server’s maxconn, backend’s fullconn.
smax Highest value of current sessions encountered since process started.
smax Highest value of current sessions encountered since process started.
smax Highest value of current sessions encountered since process started.
smax Highest value of current sessions encountered since process started.
src_ilim Limit on the number of available idle connections on this server (server pool_max_conn directive).
srid Server id revision, to prevent server id reuse mixups.
srv_abrt Total number of requests or connections aborted by the server since the worker process started.
srv_abrt Total number of requests or connections aborted by the server since the worker process started.
srv_icur Current number of idle connections available for reuse on this server.
ssl_failed_handshake Total number of failed handshakes.
ssl_failed_handshake Total number of failed handshakes.
ssl_failed_handshake Total number of failed handshakes.
ssl_failed_handshake Total number of failed handshakes.
ssl_failed_ocsp_staple Total number of failed OCSP stapling operations (expired or error).
ssl_failed_ocsp_staple Total number of failed OCSP stapling operations (expired or error).
ssl_failed_ocsp_staple Total number of failed OCSP stapling operations (expired or error).
ssl_ocsp_staple Total number of stapled OCSP responses.
ssl_ocsp_staple Total number of stapled OCSP responses.
ssl_ocsp_staple Total number of stapled OCSP responses.
ssl_reused_sess Total number of ssl sessions reused.
ssl_reused_sess Total number of ssl sessions reused.
ssl_reused_sess Total number of ssl sessions reused.
ssl_reused_sess Total number of ssl sessions reused.
ssl_sess Total number of ssl sessions established.
ssl_sess Total number of ssl sessions established.
ssl_sess Total number of ssl sessions established.
ssl_sess Total number of ssl sessions established.
status Frontend/listen status: OPEN/WAITING/FULL/STOP; backend: UP/DOWN; server: last check status.
stot Total number of sessions since process started.
stot Total number of sessions since process started.
stot Total number of sessions since process started.
stot Total number of sessions since process started.
svname Server name.
throttle Throttling ratio applied to a server’s maxconn and weight during the slowstart period (0 to 100%).
tracked Name of the other server this server tracks for its state.
ttime Total request+response time (request+queue+connect+response+processing), in milliseconds, averaged over the 1024 last requests (backend/server)
ttime_max Maximum observed total request+response time (request+queue+connect+response+processing).
ttime_max Maximum observed total request+response time (request+queue+connect+response+processing).
type Type of the object (Listener, Frontend, Backend, Server)
used_conn_cur Current number of connections in use.
uweight Server’s user weight, or sum of active servers’ user weights for a backend.
uweight Server’s user weight, or sum of active servers’ user weights for a backend.
weight Server’s effective weight, or sum of active servers’ effective weights for a backend.
weight Server’s effective weight, or sum of active servers’ effective weights for a backend.
wredis Total number of server redispatches due to connection failures since the worker process started.
wredis Total number of server redispatches due to connection failures since the worker process started.
wretr Total number of server connection retries since the worker process started.
wretr Total number of server connection retries since the worker process started.
wrew Total number of failed HTTP header rewrites since the worker process started.
wrew Total number of failed HTTP header rewrites since the worker process started.
wrew Total number of failed HTTP header rewrites since the worker process started.
wrew Total number of failed HTTP header rewrites since the worker process started.

See also Jump to heading

Do you have any suggestions on how we can improve the content of this page?