From 886ff887fb2d8abf3be4fd483ca08f310441f4e5 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Thu, 5 Feb 2015 15:02:03 +0000 Subject: Better alerting metric for graphite. We now record: custodian.$type.$host.test_duration [time] --- lib/custodian/alerts/graphite.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib') 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. -- cgit v1.2.1