diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/custodian/alerts/redis-state.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/custodian/alerts/redis-state.rb b/lib/custodian/alerts/redis-state.rb index d2c525d..b2bd0ab 100644 --- a/lib/custodian/alerts/redis-state.rb +++ b/lib/custodian/alerts/redis-state.rb @@ -131,8 +131,8 @@ module Custodian # Now store the duration, and trim it to the most recent # 1000 entries. # - @redis.lpush( "#{host}-#{test}", ms ) - @redis.ltrim( "#{host}-#{test}", "0", "1200" ) + @redis.lpush( "duration-#{host}-#{test}", ms ) + @redis.ltrim( "duration-#{host}-#{test}", "0", "1200" ) end register_alert_type "redis" |