summaryrefslogtreecommitdiff
path: root/lib/custodian/alerts/graphite.rb
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
commit1dd745737896d544ea1c8eb0b59dc5b31f1d55aa (patch)
tree66aea4b9f120533be93c2f33f6e31f5118f5cd5b /lib/custodian/alerts/graphite.rb
parentd48349ac70b2f79eff5ab53eaeb966d076ef89dd (diff)
Show the test-target in the graphite list
Diffstat (limited to 'lib/custodian/alerts/graphite.rb')
-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}"