42b18fb645
json output type is a lot more verbose than other output types. Because of this and the increasing number of metrics implemented within haproxy, we are starting to reach max bufsize limit (defaults to 16k) when dumping stats to json since 2.6-dev1. This results in stats output being truncated with "[{"errorStr":"output buffer too short"}]" This was reported by Gabriel in #1964. Thanks to "MINOR: stats: introduce stats field ctx", we can now make multipart (using multiple buffers) dumping, in case a single buffer is not big enough to hold the complete stat line. For now, only stats_dump_fields_json() makes use of it as it is by far the most verbose stats output type. (csv, typed and html outputs should be good for a while and may use this capability if the need arises in some distant future) -- It could be backported to 2.6 and 2.7. This commit depends on: - MINOR: stats: provide ctx for dumping functions - MINOR: stats: introduce stats field ctx |
||
---|---|---|
.github | ||
addons | ||
admin | ||
dev | ||
doc | ||
examples | ||
include | ||
reg-tests | ||
scripts | ||
src | ||
tests | ||
.cirrus.yml | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
.travis.yml | ||
BRANCHES | ||
CHANGELOG | ||
CONTRIBUTING | ||
INSTALL | ||
LICENSE | ||
MAINTAINERS | ||
Makefile | ||
README | ||
SUBVERS | ||
VERDATE | ||
VERSION |
The HAProxy documentation has been split into a number of different files for ease of use. Please refer to the following files depending on what you're looking for : - INSTALL for instructions on how to build and install HAProxy - BRANCHES to understand the project's life cycle and what version to use - LICENSE for the project's license - CONTRIBUTING for the process to follow to submit contributions The more detailed documentation is located into the doc/ directory : - doc/intro.txt for a quick introduction on HAProxy - doc/configuration.txt for the configuration's reference manual - doc/lua.txt for the Lua's reference manual - doc/SPOE.txt for how to use the SPOE engine - doc/network-namespaces.txt for how to use network namespaces under Linux - doc/management.txt for the management guide - doc/regression-testing.txt for how to use the regression testing suite - doc/peers.txt for the peers protocol reference - doc/coding-style.txt for how to adopt HAProxy's coding style - doc/internals for developer-specific documentation (not all up to date)