Class: Karafka::Web::Ui::Controllers::Status

Inherits:
Base
  • Object
show all
Defined in:
lib/karafka/web/ui/controllers/status.rb

Overview

View that helps understand the status of the Web UI Many people reported problems understanding the requirements or misconfigured things. While all of the things are documented, people are lazy. Hence we provide a status page where we check that everything is as expected and if not, we can provide some helpful instructions on how to fix the issues.

Direct Known Subclasses

Pro::Controllers::Status

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Karafka::Web::Ui::Controllers::Base

Instance Method Details

#showObject

Displays the Web UI setup status



14
15
16
17
18
19
# File 'lib/karafka/web/ui/controllers/status.rb', line 14

def show
  @status = Models::Status.new
  @sampler = Tracking::Sampler.new

  render
end