diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-02-05 15:02:03 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-02-05 15:02:03 +0000 |
commit | 886ff887fb2d8abf3be4fd483ca08f310441f4e5 (patch) | |
tree | 3fda49010da5ab0f7fa9cb5cad00b8027c439398 | |
parent | ccaf8beb4de070f7e17f1d4d25cc9c41cff63633 (diff) |
Better alerting metric for graphite.
We now record:
custodian.$type.$host.test_duration [time]
-rw-r--r-- | lib/custodian/alerts/graphite.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/custodian/alerts/graphite.rb b/lib/custodian/alerts/graphite.rb index 761b839..2cd369a 100644 --- a/lib/custodian/alerts/graphite.rb +++ b/lib/custodian/alerts/graphite.rb @@ -58,8 +58,7 @@ module Custodian # # The payload # - str = "#{test}.#{host}" - payload = "monitor.#{str} #{ms} #{Time.now.to_i}" + payload = "custodian.#{test}.#{host}.test_duration #{ms} #{Time.now.to_i}" # # Send via UDP. |