summaryrefslogtreecommitdiff
path: root/lib/custodian
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2013-10-04 15:04:28 +0100
committerSteve Kemp <steve@steve.org.uk>2013-10-04 15:04:28 +0100
commita6fd50c956ddacd6e920e103ea66f34ca81d16f3 (patch)
treed61d7bc965ca3e3ceb5d52dfed80bdae7d0dcf54 /lib/custodian
parentcc19d2cb6f33a1c9c07d8b446888084c9ce88a33 (diff)
Show the test-target in the graphite list
Diffstat (limited to 'lib/custodian')
-rw-r--r--lib/custodian/alerts/graphite.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/alerts/graphite.rb b/lib/custodian/alerts/graphite.rb
index 857c872..ffcd4de 100644
--- a/lib/custodian/alerts/graphite.rb
+++ b/lib/custodian/alerts/graphite.rb
@@ -55,7 +55,7 @@ module Custodian
#
# The key we'll send
#
- str = "#{host}-#{test}"
+ str = "#{test}-#{host}"
str.gsub!(/\\\./, "-")
str = "monitor.#{str}"