Sha256: 505a523ce5af2d51893d5b8d553f6c26d48c59a8041035b99181706983e51599

Contents?: true

Size: 465 Bytes

Versions: 1

Compression:

Stored size: 465 Bytes

Contents

module RedisMonitor
  module Controllers
    class PerformanceController < BaseController
      include RedisMonitor::Helpers::LayoutsHelper

      def warning
        haml 'performance/warning'.to_sym, layout: main_layout, locals: {section: 'performance'}
      end

      def check
        stats = Backend.performance_stats
        haml 'performance/check'.to_sym, layout: main_layout, locals: {stats: stats, section: 'performance'}
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
redis_monitor-0.0.4 lib/controllers/performance_controller.rb