On 11/5/19 10:34 PM, Martin Verges wrote: > This change allows sending statistics to graphite over TCP. > > So far only UDP is possible, which is not available in some environments, > like behind a loadbalancer. > > Configuration example: > ~ $ cat /etc/pve/status.cfg > > graphite: > server 10.20.30.40 > port 2003 > path proxmox > proto tcp > timeout 3 > > Signed-off-by: Martin Verges <martin.ver...@croit.io> > --- > PVE/Status/Graphite.pm | 25 ++++++++++++++++++++++++- > 1 file changed, 24 insertions(+), 1 deletion(-) >
applied, but with a followup reducing the default timeout to 1 second, which should be still high enough for most people, as TCP needs roughly 1.5 time of the Round Trip Time for connection setup, So, with 1 second timeout we're still good for connections with 660ms latency in-between. Users can always increase it if required in their environment. Thanks a lot! _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel