mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-05-29 09:15:19 +00:00
Status/Graphite: fix carbon protocol
Carbon (particularly carbon-c-relay) expects one metric per line. Current PVE implementation breaks this rule. Committed-by: Thomas Lamprecht <t.lamprecht@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
9ed623a6d8
commit
e9f581d4e1
@ -102,7 +102,7 @@ sub write_graphite {
|
||||
if ( ref $value eq 'HASH' ) {
|
||||
write_graphite($carbon_socket, $value, $ctime, $path);
|
||||
}else {
|
||||
$carbon_socket->send( "$path $value $ctime" );
|
||||
$carbon_socket->send( "$path $value $ctime\n" );
|
||||
}
|
||||
}
|
||||
$path = $oldpath;
|
||||
|
Loading…
Reference in New Issue
Block a user