[pve-devel] [PATCH manager] add graphite tcp support
Thomas Lamprecht
t.lamprecht at proxmox.com
Wed Nov 6 21:11:33 CET 2019
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.verges at 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!
More information about the pve-devel
mailing list