From 6965d06ef960e5778ab4ea457d3f5882849125df 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