mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04:00
BUG/MINOR: stats: report the correct conn_time in backend's html output
An apparent copy-paste error resulted in backend's avg connection time to report the average queue time instead in the HTML dump. Backport to 1.6 is desired.
This commit is contained in:
parent
06ecf3ab72
commit
1f6367fa08
1 changed files with 1 additions and 1 deletions
|
|
@ -3890,7 +3890,7 @@ static int stats_dump_fields_html(struct chunk *out, const struct field *stats,
|
|||
}
|
||||
|
||||
chunk_appendf(out, "<tr><th>- Queue time:</th><td>%s</td><td>ms</td></tr>", U2H(stats[ST_F_QTIME].u.u32));
|
||||
chunk_appendf(out, "<tr><th>- Connect time:</th><td>%s</td><td>ms</td></tr>", U2H(stats[ST_F_QTIME].u.u32));
|
||||
chunk_appendf(out, "<tr><th>- Connect time:</th><td>%s</td><td>ms</td></tr>", U2H(stats[ST_F_CTIME].u.u32));
|
||||
if (strcmp(field_str(stats, ST_F_MODE), "http") == 0)
|
||||
chunk_appendf(out, "<tr><th>- Response time:</th><td>%s</td><td>ms</td></tr>", U2H(stats[ST_F_RTIME].u.u32));
|
||||
chunk_appendf(out, "<tr><th>- Total time:</th><td>%s</td><td>ms</td></tr>", U2H(stats[ST_F_TTIME].u.u32));
|
||||
|
|
|
|||
Loading…
Reference in a new issue