diff options
author | Steve Kemp <steve@steve.org.uk> | 2017-09-20 11:02:39 +0300 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2017-09-20 11:02:39 +0300 |
commit | 23d003cf616ccfe563923bf354912645edc2b54c (patch) | |
tree | 9a3d48e101edaf9bb3b45497181fa7fea800ada7 /lib/custodian/alerts | |
parent | 5bfbf71c0b08647ca93460a2eda01f3221716003 (diff) |
Always ensure we send a trailing \n to graphite.
This is required for the metrics to be submitted correctly.
Diffstat (limited to 'lib/custodian/alerts')
-rw-r--r-- | lib/custodian/alerts/graphite.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/alerts/graphite.rb b/lib/custodian/alerts/graphite.rb index cca5ece..4fddf0d 100644 --- a/lib/custodian/alerts/graphite.rb +++ b/lib/custodian/alerts/graphite.rb @@ -59,7 +59,7 @@ module Custodian # # The payload # - payload = "custodian.#{test}.#{host}.test_duration_ms #{ms} #{Time.now.to_i}" + payload = "custodian.#{test}.#{host}.test_duration_ms #{ms} #{Time.now.to_i}\n" # # Send metrics via TCP. |