mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-22 04:10:48 +00:00
8fc0b18087
This commit is the first one of a serie which adjust naming convention for stats module. The objective is to remove ambiguity and better reflect how stats are implemented, especially since the introduction of stats module. This patch renames elements related to proxies statistics. One of the main change is to rename ST_F_* statistics indexes prefix with the new name ST_I_PX_*. This remove the reference to field which represents another concept in the stats module. In the same vein, global stat_fields variable is renamed metrics_px.
15 lines
279 B
Plaintext
15 lines
279 B
Plaintext
varnishtest "Verifies the absence of (null) in 'show stats' header"
|
|
|
|
# This can happen if a new ST_I_PX_xxx enum is added without updating
|
|
# stats_fields[].
|
|
|
|
feature ignore_unknown_macro
|
|
|
|
haproxy h1 -conf {
|
|
} -start
|
|
|
|
haproxy h1 -cli {
|
|
send "show stat"
|
|
expect !~ (null)
|
|
}
|